From c9c0d1cf7f6ab6bbd93941c23304a25b81b29fd5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Thu, 8 Jun 2023 13:05:13 +0200 Subject: [PATCH] ; 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. -- 2.39.2