summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2024-09-27 11:48:14 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2024-09-27 19:26:52 +0200
commitbba14a27678317eee68e87a343e7314b3949f6c7 (patch)
treee0f36001605ef720aa9b94d7dd38bd81d5880e09 /lisp/emacs-lisp/lisp.el
parent09d63ba32bbd0ddbd8c9deb4fcfe8e4356ea0e8d (diff)
downloademacs-bba14a27678317eee68e87a343e7314b3949f6c7.tar.gz
emacs-bba14a27678317eee68e87a343e7314b3949f6c7.tar.bz2
emacs-bba14a27678317eee68e87a343e7314b3949f6c7.zip
Warn about bad face specs in `defface` at compile time
* lisp/emacs-lisp/bytecomp.el (byte-compile--custom-declare-face): Byte-compile `defface` forms, or the byte-compile handler won't be called. (bytecomp--check-cus-face-spec): New. (bytecomp--custom-declare): Call it. * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-test-defface-spec): New tests.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions