diff options
author | Craig Earls <enderw88@gmail.com> | 2013-04-04 12:22:27 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2013-04-04 12:22:27 -0700 |
commit | 063b027fbbed83c0ccd9a43dff97204590a07f02 (patch) | |
tree | 90c79601d8d2dfd2069f1f09de3e92256cdb5a5f /lisp | |
parent | 1a52899673f02b87b065c5b29755394581b485c9 (diff) | |
download | fork-ledger-063b027fbbed83c0ccd9a43dff97204590a07f02.tar.gz fork-ledger-063b027fbbed83c0ccd9a43dff97204590a07f02.tar.bz2 fork-ledger-063b027fbbed83c0ccd9a43dff97204590a07f02.zip |
Fixed bug that caused ledger-mode interfere with other mode that used indent-region
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ldg-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ldg-mode.el b/lisp/ldg-mode.el index f1b434e9..cf0f56e7 100644 --- a/lisp/ldg-mode.el +++ b/lisp/ldg-mode.el @@ -92,7 +92,7 @@ Can be pcomplete, or align-posting" (ledger-init-load-init-file) - (setq indent-region-function 'ledger-post-align-postings) + (set (make-local-variable 'indent-region-function) 'ledger-post-align-postings) (let ((map (current-local-map))) (define-key map [(control ?c) (control ?a)] 'ledger-add-transaction) |