[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master c9c0d1cf7f6 2/2: ; fix important-return-value-fns mistake
From: |
Mattias Engdegård |
Subject: |
master c9c0d1cf7f6 2/2: ; fix important-return-value-fns mistake |
Date: |
Thu, 8 Jun 2023 13:27:04 -0400 (EDT) |
branch: master
commit c9c0d1cf7f6ab6bbd93941c23304a25b81b29fd5
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
; fix important-return-value-fns mistake
* lisp/emacs-lisp/bytecomp.el (important-return-value-fns):
Remove assoc-string; it's already side-effect-free.
---
lisp/emacs-lisp/bytecomp.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 2646a588b92..4cf244aedbf 100644
--- 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.