summaryrefslogtreecommitdiff
path: root/lisp/ldg-mode.el
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-05-06 11:28:35 -0700
committerCraig Earls <enderw88@gmail.com>2013-05-06 11:28:35 -0700
commitfdbae766c17e779accbc9152aae689e738fc9ad0 (patch)
tree449f7781137cce1926073dab8c27de9d09547cb0 /lisp/ldg-mode.el
parent6b10e2e9096b42aa11be0b7aec0e8789974a277b (diff)
downloadfork-ledger-fdbae766c17e779accbc9152aae689e738fc9ad0.tar.gz
fork-ledger-fdbae766c17e779accbc9152aae689e738fc9ad0.tar.bz2
fork-ledger-fdbae766c17e779accbc9152aae689e738fc9ad0.zip
Implement more efficient completion algorithm. Thanks Thierry! Also remove multi-comment font-locking for performance reasons.
Diffstat (limited to 'lisp/ldg-mode.el')
-rw-r--r--lisp/ldg-mode.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/ldg-mode.el b/lisp/ldg-mode.el
index c2e87d8e..75b842e2 100644
--- a/lisp/ldg-mode.el
+++ b/lisp/ldg-mode.el
@@ -124,8 +124,7 @@ Can indent, complete or align depending on context."
(set (make-local-variable 'font-lock-defaults)
'(ledger-font-lock-keywords nil t)))
(setq font-lock-extend-region-functions
- (list #'font-lock-extend-region-wholelines
- #'ledger-extend-region-multiline-comment))
+ (list #'font-lock-extend-region-wholelines))
(setq font-lock-multiline nil)
(set (make-local-variable 'pcomplete-parse-arguments-function)