diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2011-04-05 17:20:21 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2011-04-05 17:20:21 +0200 |
commit | 33256f149ff9e346ea4514cf9e454760116c7b8e (patch) | |
tree | 60bcff9869615599638ab221de5671712f46c7b8 /lisp/font-lock.el | |
parent | 6194c800cec28a2893e8dc9e4250ec0e67dbdbe6 (diff) | |
download | emacs-33256f149ff9e346ea4514cf9e454760116c7b8e.tar.gz |
lisp/font-lock.el: Remove obsolete code.
* font-lock.el (font-lock-refresh-defaults):
Don't bind `hi-lock--inhibit-font-lock-hook', removed in
2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com
Diffstat (limited to 'lisp/font-lock.el')
-rw-r--r-- | lisp/font-lock.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 988e821d7e2..32fbb0608a2 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -1765,8 +1765,7 @@ variables directly. Note: This function will erase modifications done by `font-lock-add-keywords' or `font-lock-remove-keywords', but will preserve `hi-lock-mode' highlighting patterns." - (let ((hi-lock--inhibit-font-lock-hook t)) - (font-lock-mode -1)) + (font-lock-mode -1) (kill-local-variable 'font-lock-set-defaults) (font-lock-mode 1)) |