* emacs-lisp/cl-lib.el (cl--old-struct-type-of): Accept `[]'
This commit is contained in:
parent
a20f4f02c6
commit
fa72de6cf7
1 changed files with 1 additions and 1 deletions
|
|
@ -631,7 +631,7 @@ If ALIST is non-nil, the new pairs are prepended to it."
|
|||
(require 'cl-seq))
|
||||
|
||||
(defun cl--old-struct-type-of (orig-fun object)
|
||||
(or (and (vectorp object)
|
||||
(or (and (vectorp object) (> (length object) 0)
|
||||
(let ((tag (aref object 0)))
|
||||
(when (and (symbolp tag)
|
||||
(string-prefix-p "cl-struct-" (symbol-name tag)))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue