summaryrefslogtreecommitdiff
path: root/lisp/vc/diff.el
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2021-10-03 11:56:16 +0100
committerJoão Távora <joaotavora@gmail.com>2021-10-03 16:18:40 +0100
commite6fbc45b7b49a27ab4db348385762bafc330bcf3 (patch)
treea98dfa4384b47ce6df346bfca254295c58d563d6 /lisp/vc/diff.el
parent17e6f3bee5a30f463082fad19d58de453ec9f490 (diff)
downloademacs-e6fbc45b7b49a27ab4db348385762bafc330bcf3.tar.gz
emacs-e6fbc45b7b49a27ab4db348385762bafc330bcf3.tar.bz2
emacs-e6fbc45b7b49a27ab4db348385762bafc330bcf3.zip
Font-lock shorthands in elisp-mode for quick visual recognition (bug#50959)
Only the shorthanded prefix is font-locked. This allows the remainder of the font-lock logic to subsist (e.g. for macro-defining symbols). * lisp/shorthands.el (cl-lib): Require it when compiling. (elisp-shorthand-font-lock-face): New face. (shorthands--mismatch-from-end): New helper. (shorthands-font-lock-shorthands): New helper. * test/lisp/progmodes/elisp-mode-resources/simple-shorthand-test.el: Add some dummy test code.
Diffstat (limited to 'lisp/vc/diff.el')
0 files changed, 0 insertions, 0 deletions