mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-10 08:10:21 -08:00
* lisp/emacs-lisp/cl-macs.el: Define fixnum and bignum.
Define fixnum so `cl-typep' recognize it and the type check emitted by `cl-the' is effective.
This commit is contained in:
parent
95312717c7
commit
c9a9b0766f
1 changed files with 4 additions and 0 deletions
|
|
@ -3437,6 +3437,10 @@ The type name can then be used in `cl-typecase', `cl-check-type', etc."
|
|||
(cl-function (lambda (&cl-defs ('*) ,@arglist) ,@body)))))
|
||||
|
||||
(cl-deftype extended-char () '(and character (not base-char)))
|
||||
;; Define fixnum so `cl-typep' recognize it and the type check emitted
|
||||
;; by `cl-the' is effective.
|
||||
(cl-deftype fixnum () 'fixnump)
|
||||
(cl-deftype bignum () 'bignump)
|
||||
|
||||
;;; Additional functions that we can now define because we've defined
|
||||
;;; `cl-defsubst' and `cl-typep'.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue