diff lisp/emacs-lisp/cl-macs.el @ 64364:467ac2466cf1

(cl-make-type-test): Add `atom' type.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 16 Jul 2005 11:34:50 +0000
parents 18a818a2ee7c
children f5c6d3e91a14
line wrap: on
line diff
--- a/lisp/emacs-lisp/cl-macs.el	Sat Jul 16 11:25:43 2005 +0000
+++ b/lisp/emacs-lisp/cl-macs.el	Sat Jul 16 11:34:50 2005 +0000
@@ -2384,6 +2384,7 @@
 	     (cl-make-type-test val (funcall (get type 'cl-deftype-handler))))
 	    ((memq type '(nil t)) type)
 	    ((eq type 'null) `(null ,val))
+	    ((eq type 'atom) `(atom ,val))
 	    ((eq type 'float) `(floatp-safe ,val))
 	    ((eq type 'real) `(numberp ,val))
 	    ((eq type 'fixnum) `(integerp ,val))