Mercurial > emacs
changeset 64370:f5c6d3e91a14
(cl-make-type-test): Defer evaluation of cl-make-type-test to execution time.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 16 Jul 2005 11:53:25 +0000 |
parents | a883de97d016 |
children | 4073cd1355a9 |
files | lisp/emacs-lisp/cl-macs.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/cl-macs.el Sat Jul 16 11:48:33 2005 +0000 +++ b/lisp/emacs-lisp/cl-macs.el Sat Jul 16 11:53:25 2005 +0000 @@ -2399,7 +2399,7 @@ (cl-make-type-test val (apply (get (car type) 'cl-deftype-handler) (cdr type)))) ((memq (car type) '(integer float real number)) - (delq t (and (cl-make-type-test val (car type)) + (delq t (list 'and (cl-make-type-test val (car type)) (if (memq (cadr type) '(* nil)) t (if (consp (cadr type)) (list '> val (caadr type)) (list '>= val (cadr type))))