diff options
author | João Távora <joaotavora@gmail.com> | 2021-09-22 23:53:15 +0100 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2021-09-27 01:07:11 +0100 |
commit | 66f30875304e373c40e9b81aa37041d49bf7abfe (patch) | |
tree | 83429917e6bf2b949d6126858ce4d31ba14b7d92 /src/syntax.c | |
parent | 90cbf0cb8d9959b94ba09f1faa0dcb50c8dbddbd (diff) | |
download | emacs-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/syntax.c')
0 files changed, 0 insertions, 0 deletions