mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
* lisp/emacs-lisp/cl-preloaded.el (cl--typeof-types): Add symbol-with-pos
This commit is contained in:
parent
834383f1e1
commit
73088b30cf
@ -53,7 +53,7 @@
|
||||
(defconst cl--typeof-types
|
||||
;; Hand made from the source code of `type-of'.
|
||||
'((integer number number-or-marker atom)
|
||||
(symbol atom) (string array sequence 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.
|
||||
|
@ -211,6 +211,7 @@ for example, (type-of 1) returns `integer'. */)
|
||||
return Qcons;
|
||||
|
||||
case Lisp_Vectorlike:
|
||||
/* WARNING!! Keep 'cl--typeof-types' in sync with this code!! */
|
||||
switch (PSEUDOVECTOR_TYPE (XVECTOR (object)))
|
||||
{
|
||||
case PVEC_NORMAL_VECTOR: return Qvector;
|
||||
|
Loading…
Reference in New Issue
Block a user