]> code.delx.au - gnu-emacs/commit
Improve dynamic elisp keyword font-locking
authorTassilo Horn <tsdh@gnu.org>
Mon, 16 Mar 2015 09:25:14 +0000 (10:25 +0100)
committerTassilo Horn <tsdh@gnu.org>
Wed, 18 Mar 2015 06:44:01 +0000 (07:44 +0100)
commit9fdc166ee0ca212f7d5bf1cd9e1177932b0cd9aa
treecf898f16323f0771e2c9b7cab76459d0fce18145
parent1a93b9145d6f6aadb75f51eeb8d7b5bc45f06940
Improve dynamic elisp keyword font-locking

* emacs-lisp/byte-run.el (macro-declarations-alist): New
declaration no-font-lock-keyword.
(defmacro): Flush font-lock in existing elisp buffers.

* emacs-lisp/lisp-mode.el (lisp--el-update-after-load)
(lisp--el-update-macro-regexp, lisp--el-macro-regexp): Delete
functions and defconst.
(lisp--el-match-keyword): Rename from lisp--el-match-macro.
(lisp--el-font-lock-flush-elisp-buffers): New function.
(lisp-mode-variables): Remove code for updating
lisp--el-macro-regexp, and add
lisp--el-font-lock-flush-elisp-buffers to after-load-functions.
lisp/ChangeLog
lisp/emacs-lisp/byte-run.el
lisp/emacs-lisp/lisp-mode.el