summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-03-06 14:36:31 -0500
committerCraig Earls <enderw88@gmail.com>2013-03-06 14:36:31 -0500
commit1eba7c6cdf4ac334a5b8580e4f18102db26b8c5f (patch)
tree27cf6b59fcae871db04bac310f88ff067ad55c01
parent0744a0ac8fac128255a0baec0343d1092a998cee (diff)
downloadfork-ledger-1eba7c6cdf4ac334a5b8580e4f18102db26b8c5f.tar.gz
fork-ledger-1eba7c6cdf4ac334a5b8580e4f18102db26b8c5f.tar.bz2
fork-ledger-1eba7c6cdf4ac334a5b8580e4f18102db26b8c5f.zip
Code formatting cleanup.
-rw-r--r--lisp/ldg-occur.el4
-rw-r--r--lisp/ldg-reconcile.el1
-rw-r--r--lisp/ldg-regex.el3
3 files changed, 5 insertions, 3 deletions
diff --git a/lisp/ldg-occur.el b/lisp/ldg-occur.el
index 1561d6f8..f14aeeda 100644
--- a/lisp/ldg-occur.el
+++ b/lisp/ldg-occur.el
@@ -41,7 +41,9 @@
(make-variable-buffer-local 'ledger-occur-use-face-unfolded)
-(defvar ledger-occur-mode nil) ;; name of the minor mode, shown in the mode-line
+(defvar ledger-occur-mode nil
+"name of the minor mode, shown in the mode-line")
+
(make-variable-buffer-local 'ledger-occur-mode)
(or (assq 'ledger-occur-mode minor-mode-alist)
diff --git a/lisp/ldg-reconcile.el b/lisp/ldg-reconcile.el
index e45ab7c3..fd452004 100644
--- a/lisp/ldg-reconcile.el
+++ b/lisp/ldg-reconcile.el
@@ -443,6 +443,5 @@ POSTING is used in `ledger-clear-whole-transactions' is nil."
(use-local-map map)))
(provide 'ldg-reconcile)
-(provide 'ldg-reconcile)
;;; ldg-reconcile.el ends here
diff --git a/lisp/ldg-regex.el b/lisp/ldg-regex.el
index e81394ef..97fd6e2c 100644
--- a/lisp/ldg-regex.el
+++ b/lisp/ldg-regex.el
@@ -24,7 +24,8 @@
(eval-when-compile
(require 'cl))
-(defvar ledger-date-regex "\\([0-9]+\\)[/-]\\([0-9]+\\)[/-]\\([0-9]+\\)")
+(defvar ledger-date-regex
+ "\\([0-9]+\\)[/-]\\([0-9]+\\)[/-]\\([0-9]+\\)")
(defmacro ledger-define-regexp (name regex docs &rest args)
"Simplify the creation of a Ledger regex and helper functions."