From: Mattias EngdegÄrd Date: Thu, 8 Jun 2023 11:05:13 +0000 (+0200) Subject: ; fix important-return-value-fns mistake X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c9c0d1cf7f6ab6bbd93941c23304a25b81b29fd5;p=emacs.git ; fix important-return-value-fns mistake * lisp/emacs-lisp/bytecomp.el (important-return-value-fns): Remove assoc-string; it's already side-effect-free. --- 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.