Code formatting cleanup.

This commit is contained in:
Craig Earls 2013-03-06 14:36:31 -05:00
parent 0744a0ac8f
commit 1eba7c6cdf
3 changed files with 5 additions and 3 deletions

View file

@ -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)

View file

@ -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

View file

@ -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."