]> git.eshelyaron.com Git - emacs.git/commit
Add amcros for keyword symbols
authorGerd Möllmann <gerd@gnu.org>
Tue, 18 Oct 2022 13:07:47 +0000 (15:07 +0200)
committerGerd Möllmann <gerd@gnu.org>
Tue, 18 Oct 2022 13:07:47 +0000 (15:07 +0200)
commit8a59cc12daca60db88a0666ed21beac572883a5d
tree1cbbe4e76ebccd1dfa01f56339aa47eda432fde9
parent0a345a1181c2b90e1af15a44055bd56e7c55cec2
Add amcros for keyword symbols

* src/lisp.h (SYMBOL_KEYWORD_P): Returns true if symbol is a keyword.
(LISP_SYMBOL_NAME): Basically the same as Fsymbol_name, a shortcut.
* src/data.c (Fsymbol_name): Use SYMBOL_KEYWORD_P.
* src/pkg.c (pkg_intern_keyword): Use SYMBOL_KEYWORD_P.
src/data.c
src/lisp.h
src/pkg.c