mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-03 11:33:37 +00:00
(keywordp): Remove.
This commit is contained in:
parent
cf6bc7c3a5
commit
88d9af06cb
@ -54,9 +54,6 @@
|
||||
(defmacro defkeyword (x &optional doc)
|
||||
(list* 'defconst x (list 'quote x) (and doc (list doc))))
|
||||
|
||||
(defun keywordp (sym)
|
||||
(and (symbolp sym) (eq (aref (symbol-name sym) 0) ?\:) (set sym sym)))
|
||||
|
||||
(defun keyword-of (sym)
|
||||
(or (keywordp sym) (keywordp (intern (format ":%s" sym)))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user