Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
cb35e559
Commit
cb35e559
authored
Jul 16, 2005
by
Eli Zaretskii
Browse files
(cl-make-type-test): Defer evaluation of cl-make-type-test to execution time.
parent
bfff13ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/emacs-lisp/cl-macs.el
lisp/emacs-lisp/cl-macs.el
+1
-1
No files found.
lisp/emacs-lisp/cl-macs.el
View file @
cb35e559
...
@@ -2399,7 +2399,7 @@ The type name can then be used in `typecase', `check-type', etc."
...
@@ -2399,7 +2399,7 @@ The type name can then be used in `typecase', `check-type', etc."
(
cl-make-type-test
val
(
apply
(
get
(
car
type
)
'cl-deftype-handler
)
(
cl-make-type-test
val
(
apply
(
get
(
car
type
)
'cl-deftype-handler
)
(
cdr
type
))))
(
cdr
type
))))
((
memq
(
car
type
)
'
(
integer
float
real
number
))
((
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
(
memq
(
cadr
type
)
'
(
*
nil
))
t
(
if
(
consp
(
cadr
type
))
(
list
'>
val
(
caadr
type
))
(
if
(
consp
(
cadr
type
))
(
list
'>
val
(
caadr
type
))
(
list
'>=
val
(
cadr
type
))))
(
list
'>=
val
(
cadr
type
))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment