projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96d056b
)
Traverse record literals in byte-compile--first-symbol-with-pos
author
Mattias Engdegård
<mattiase@acm.org>
Sun, 29 May 2022 08:49:13 +0000
(10:49 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Sun, 29 May 2022 08:52:09 +0000
(10:52 +0200)
* lisp/emacs-lisp/bytecomp.el (byte-compile--first-symbol-with-pos):
Traverse record literals as well as vectors. Either is rather
pointless but there were some strong feelings about it.
lisp/emacs-lisp/bytecomp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/bytecomp.el
b/lisp/emacs-lisp/bytecomp.el
index ee530f95d0969e9a1d8f3e4a286ad44420372dbb..5d16d55089e116838fad0e2f273339bb36b0319b 100644
(file)
--- a/
lisp/emacs-lisp/bytecomp.el
+++ b/
lisp/emacs-lisp/bytecomp.el
@@
-1195,7
+1195,7
@@
Order is by depth-first search."
(setq form (cdr form)))
(or sym
(and form (byte-compile--first-symbol-with-pos form))))))
- ((
vectorp form
)
+ ((
or (vectorp form) (recordp form)
)
(let ((len (length form))
(i 0)
(sym nil))