(cl--typeof-types): Complete last change
* lisp/emacs-lisp/cl-preloaded.el (cl--typeof-types): Add `integer-or-marker` in the hierarchy as well.
This commit is contained in:
parent
d1bc4cdc6a
commit
d7c91d74b6
1 changed files with 3 additions and 3 deletions
|
@ -52,12 +52,12 @@
|
|||
|
||||
(defconst cl--typeof-types
|
||||
;; Hand made from the source code of `type-of'.
|
||||
'((integer number number-or-marker atom)
|
||||
'((integer number integer-or-marker number-or-marker atom)
|
||||
(symbol-with-pos symbol atom) (symbol atom) (string array sequence atom)
|
||||
(cons list sequence)
|
||||
;; Markers aren't `numberp', yet they are accepted wherever integers are
|
||||
;; accepted, pretty much.
|
||||
(marker number-or-marker atom)
|
||||
(marker integer-or-marker number-or-marker atom)
|
||||
(overlay atom) (float number number-or-marker atom)
|
||||
(window-configuration atom) (process atom) (window atom)
|
||||
;; FIXME: We'd want to put `function' here, but that's only true
|
||||
|
@ -65,7 +65,7 @@
|
|||
(subr atom)
|
||||
;; FIXME: We should probably reverse the order between
|
||||
;; `compiled-function' and `byte-code-function' since arguably
|
||||
;; `subr' and also "compiled functions" but not "byte code functions",
|
||||
;; `subr' is also "compiled functions" but not "byte code functions",
|
||||
;; but it would require changing the value returned by `type-of' for
|
||||
;; byte code objects, which risks breaking existing code, which doesn't
|
||||
;; seem worth the trouble.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue