changeset 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 71c7519df9b7
children badd66c815b3
files lisp/emacs-lisp/cl-macs.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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))