summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-add-hook.el
diff options
context:
space:
mode:
authorYuan Fu <casouri@gmail.com>2022-12-28 15:44:26 -0800
committerYuan Fu <casouri@gmail.com>2022-12-28 15:44:26 -0800
commit19b8733aa27719e0aa60fad23a45a7f89d68b88d (patch)
treec04f461e1ce0c1c4bae06860b5d0a0d612c6f4e5 /test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-add-hook.el
parentf509246ba12ac791291f586340622871cdfc18ed (diff)
downloademacs-19b8733aa27719e0aa60fad23a45a7f89d68b88d.tar.gz
emacs-19b8733aa27719e0aa60fad23a45a7f89d68b88d.tar.bz2
emacs-19b8733aa27719e0aa60fad23a45a7f89d68b88d.zip
Fix syntax for < and > in c++-ts-mode (bug#60351)
< and > are usually punctuation, e.g., in ->. But when used for templates, they should be considered pairs. Right now we always consider them as pairs which is incorrect. * lisp/progmodes/c-ts-mode.el (c++-ts-mode--syntax-table): Remove variable. (c-ts-mode--syntax-propertize): New function. (c++-ts-mode): Remove syntax table. Setup syntax-propertize-function.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-add-hook.el')
0 files changed, 0 insertions, 0 deletions