diff options
author | Andrea Corallo <akrl@sdf.org> | 2020-03-29 12:31:24 +0100 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2020-03-29 12:31:24 +0100 |
commit | 00ee320a620704ae12a1e2104c2d08bf8bbdf0c9 (patch) | |
tree | 498c59219b572c89e10f9521b54c98896cb52ca9 /lisp/emacs-lisp/cl-macs.el | |
parent | 530faee2752c7b316fa21f2ac4d1266d3e7a38e6 (diff) | |
parent | 76b3bd8cbb9a0a01941d9c1766c054960e4bfd97 (diff) | |
download | emacs-00ee320a620704ae12a1e2104c2d08bf8bbdf0c9.tar.gz emacs-00ee320a620704ae12a1e2104c2d08bf8bbdf0c9.tar.bz2 emacs-00ee320a620704ae12a1e2104c2d08bf8bbdf0c9.zip |
Merge remote-tracking branch 'savannah/master' into HEAD
Diffstat (limited to 'lisp/emacs-lisp/cl-macs.el')
-rw-r--r-- | lisp/emacs-lisp/cl-macs.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index 954731b06b8..7f5d197b532 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el @@ -2868,7 +2868,9 @@ Supported keywords for slots are: (append pred-form '(t)) `(and ,pred-form t))) forms) - (push `(put ',name 'cl-deftype-satisfies ',predicate) forms)) + (push `(eval-and-compile + (put ',name 'cl-deftype-satisfies ',predicate)) + forms)) (let ((pos 0) (descp descs)) (while descp (let* ((desc (pop descp)) @@ -3138,6 +3140,7 @@ Of course, we really can't know that for sure, so it's just a heuristic." ;; "Obvious" mappings. (string . stringp) (list . listp) + (cons . consp) (symbol . symbolp) (function . functionp) (integer . integerp) |