projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a20f4f0
)
* emacs-lisp/cl-lib.el (cl--old-struct-type-of): Accept `[]'
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 18 Jul 2017 16:01:27 +0000
(12:01 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 18 Jul 2017 16:01:27 +0000
(12:01 -0400)
lisp/emacs-lisp/cl-lib.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/cl-lib.el
b/lisp/emacs-lisp/cl-lib.el
index c183852fd3ba2abab43149d53daaff564c5a9a9e..6ac08d839b19430c90e0089167d31e1d31d65d93 100644
(file)
--- a/
lisp/emacs-lisp/cl-lib.el
+++ b/
lisp/emacs-lisp/cl-lib.el
@@
-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)))