]> git.eshelyaron.com Git - emacs.git/commit
Replace a few calls to intern with constant strings
authorPo Lu <luangruo@yahoo.com>
Fri, 9 Feb 2024 01:53:33 +0000 (09:53 +0800)
committerEshel Yaron <me@eshelyaron.com>
Fri, 9 Feb 2024 10:44:58 +0000 (11:44 +0100)
commit5c82299a9f72bd3787f89faad5cb26a14519a9da
tree147817c10a90aa6462ae8134ff99e2eb4c8e85b1
parent575a7662d5342b1d85025e50acb738beea5090f6
Replace a few calls to intern with constant strings

* src/fns.c (do_yes_or_no_p, Fyes_or_no_p): Use symbol globals
rather than intern.
(syms_of_fns) <Qyes_or_no_p, Qy_or_n_p>: New symbols.

* src/lread.c (readevalloop): Use symbol global.
(syms_of_lread) <Qinternal_macroexpand_for_load>: New symbol.

(cherry picked from commit 8290a1bacb019f5026caa08334a7087802ebc6f9)
src/fns.c
src/lread.c