comparison lisp/cus-start.el @ 28569:e2b3c1885fb1

Use keywordp.
author Dave Love <fx@gnu.org>
date Thu, 13 Apr 2000 19:05:47 +0000
parents 580d9429435a
children 83e9db7aeddb
comparison
equal deleted inserted replaced
28568:cfff869d8a3d 28569:e2b3c1885fb1
207 this symbol group type native-p 207 this symbol group type native-p
208 ;; This function turns a value 208 ;; This function turns a value
209 ;; into an expression which produces that value. 209 ;; into an expression which produces that value.
210 (quoter (lambda (sexp) 210 (quoter (lambda (sexp)
211 (if (or (memq sexp '(t nil)) 211 (if (or (memq sexp '(t nil))
212 (and (symbolp sexp) 212 (keywordp sexp)
213 (eq (aref (symbol-name sexp) 0) ?:))
214 (and (listp sexp) 213 (and (listp sexp)
215 (memq (car sexp) '(lambda))) 214 (memq (car sexp) '(lambda)))
216 (stringp sexp) 215 (stringp sexp)
217 (numberp sexp) 216 (numberp sexp)
218 (and (fboundp 'characterp) 217 (and (fboundp 'characterp)