summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-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."