]> git.eshelyaron.com Git - emacs.git/commitdiff
; fix important-return-value-fns mistake
authorMattias Engdegård <mattiase@acm.org>
Thu, 8 Jun 2023 11:05:13 +0000 (13:05 +0200)
committerMattias 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

index 2646a588b92931b1da51d26e717b10ac1a0ddb89..4cf244aedbf62fc8840e01a1cbf1252933d66b2f 100644 (file)
@@ -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.