diff options
author | Tassilo Horn <tsdh@gnu.org> | 2015-03-16 10:25:14 +0100 |
---|---|---|
committer | Tassilo Horn <tsdh@gnu.org> | 2015-03-18 07:44:01 +0100 |
commit | 9fdc166ee0ca212f7d5bf1cd9e1177932b0cd9aa (patch) | |
tree | cf898f16323f0771e2c9b7cab76459d0fce18145 /lisp/emacs-lisp/regi.el | |
parent | 1a93b9145d6f6aadb75f51eeb8d7b5bc45f06940 (diff) | |
download | emacs-9fdc166ee0ca212f7d5bf1cd9e1177932b0cd9aa.tar.gz emacs-9fdc166ee0ca212f7d5bf1cd9e1177932b0cd9aa.tar.bz2 emacs-9fdc166ee0ca212f7d5bf1cd9e1177932b0cd9aa.zip |
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.
Diffstat (limited to 'lisp/emacs-lisp/regi.el')
0 files changed, 0 insertions, 0 deletions