]> git.eshelyaron.com Git - emacs.git/commit
Add #_ reader macro to escape shorthand renaming
authorJoão Távora <joaotavora@gmail.com>
Wed, 22 Sep 2021 22:53:15 +0000 (23:53 +0100)
committerJoão Távora <joaotavora@gmail.com>
Mon, 27 Sep 2021 00:07:11 +0000 (01:07 +0100)
commit66f30875304e373c40e9b81aa37041d49bf7abfe
tree83429917e6bf2b949d6126858ce4d31ba14b7d92
parent90cbf0cb8d9959b94ba09f1faa0dcb50c8dbddbd
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.
src/lread.c
test/lisp/progmodes/elisp-mode-tests.el
test/lisp/progmodes/elisp-resources/simple-shorthand-test.el