Mercurial > hg > xemacs-beta
diff lisp/cl-compat.el @ 406:b8cc9ab3f761 r21-2-33
Import from CVS: tag r21-2-33
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:17:09 +0200 |
parents | 41ff10fd062f |
children | 697ef44129c6 023b83f4e54b |
line wrap: on
line diff
--- a/lisp/cl-compat.el Mon Aug 13 11:16:09 2007 +0200 +++ b/lisp/cl-compat.el Mon Aug 13 11:17:09 2007 +0200 @@ -56,8 +56,10 @@ (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))) +;; XEmacs change. +;; We have built-in function. +;;(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)))))