Mercurial > emacs
changeset 28569:e2b3c1885fb1
Use keywordp.
author | Dave Love <fx@gnu.org> |
---|---|
date | Thu, 13 Apr 2000 19:05:47 +0000 |
parents | cfff869d8a3d |
children | 4b0494b98967 |
files | lisp/cus-start.el |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/cus-start.el Thu Apr 13 19:05:10 2000 +0000 +++ b/lisp/cus-start.el Thu Apr 13 19:05:47 2000 +0000 @@ -209,8 +209,7 @@ ;; into an expression which produces that value. (quoter (lambda (sexp) (if (or (memq sexp '(t nil)) - (and (symbolp sexp) - (eq (aref (symbol-name sexp) 0) ?:)) + (keywordp sexp) (and (listp sexp) (memq (car sexp) '(lambda))) (stringp sexp)