branch: elpa/beancount
commit fa285958d04dee391381f5182203ad0cc7dee080
Author: Daniele Nicolodi <dani...@grinta.net>
Commit: Daniele Nicolodi <dani...@grinta.net>

    beancount.el: Drop unused function
---
 beancount.el | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/beancount.el b/beancount.el
index 250d0fe382..a4183d6b0e 100644
--- a/beancount.el
+++ b/beancount.el
@@ -604,18 +604,6 @@ Uses ido niceness according to `beancount-use-ido'."
          (forward-line 1)
          ))))
 
-(defun beancount-max-accounts-width (begin end)
-  "Return the minimum widths of a list of account names on a list
-of lines. Initial whitespace is ignored."
-  (let* (widths)
-    (beancount-for-line-in-region
-     begin end
-     (let* ((line (thing-at-point 'line)))
-       (when (string-match
-              (concat "^[ \t]*\\(" beancount-account-regexp "\\)") line)
-         (push (length (match-string 1 line)) widths))))
-    (apply 'max widths)))
-
 (defun beancount-align-numbers (begin end &optional requested-currency-column)
   "Align all numbers in the given region. CURRENCY-COLUMN is the character
 at which to align the beginning of the amount's currency. If not specified, use

Reply via email to