summaryrefslogtreecommitdiff
path: root/src/regex-emacs.h
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2021-09-22 23:53:15 +0100
committerJoão Távora <joaotavora@gmail.com>2021-09-27 01:07:11 +0100
commit66f30875304e373c40e9b81aa37041d49bf7abfe (patch)
tree83429917e6bf2b949d6126858ce4d31ba14b7d92 /src/regex-emacs.h
parent90cbf0cb8d9959b94ba09f1faa0dcb50c8dbddbd (diff)
downloademacs-66f30875304e373c40e9b81aa37041d49bf7abfe.tar.gz
emacs-66f30875304e373c40e9b81aa37041d49bf7abfe.tar.bz2
emacs-66f30875304e373c40e9b81aa37041d49bf7abfe.zip
Add #_ reader macro to escape shorthand renaming
* src/lread.c (read1): Add skip_shorthand variable. Add a '#_' case. If skip_shorthand call oblookup instead of oblookup_considering_shorthand. * test/lisp/progmodes/elisp-mode-tests.el (elisp-shorthand-escape): New test. * test/lisp/progmodes/elisp-resources/simple-shorthand-test.el (#_f-test4---): New fixture function.
Diffstat (limited to 'src/regex-emacs.h')
0 files changed, 0 insertions, 0 deletions