projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d411a0
)
; fix important-return-value-fns mistake
author
Mattias Engdegård
<mattiase@acm.org>
Thu, 8 Jun 2023 11:05:13 +0000
(13:05 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Thu, 8 Jun 2023 17:25:16 +0000
(19:25 +0200)
* lisp/emacs-lisp/bytecomp.el (important-return-value-fns):
Remove assoc-string; it's already side-effect-free.
lisp/emacs-lisp/bytecomp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/bytecomp.el
b/lisp/emacs-lisp/bytecomp.el
index 2646a588b92931b1da51d26e717b10ac1a0ddb89..4cf244aedbf62fc8840e01a1cbf1252933d66b2f 100644
(file)
--- a/
lisp/emacs-lisp/bytecomp.el
+++ b/
lisp/emacs-lisp/bytecomp.el
@@
-3560,7
+3560,7
@@
lambda-expression."
;; These functions are side-effect-free except for the
;; behaviour of functions passed as argument.
mapcar mapcan mapconcat
- assoc
assoc-string
plist-get plist-member
+ assoc plist-get plist-member
;; It's safe to ignore the value of `sort' and `nreverse'
;; when used on arrays, but most calls pass lists.