diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2023-05-20 18:24:53 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2023-05-20 18:38:33 +0200 |
commit | 88d1e9b436c8778c90b7a57a152aee8071ac77b9 (patch) | |
tree | 0028f65d36c3f9f8a7679ece70a8f5eef57ebe42 /lisp/emacs-lisp | |
parent | 5d15818b94c1f6fd46f30154240942b3991492a4 (diff) | |
download | emacs-88d1e9b436c8778c90b7a57a152aee8071ac77b9.tar.gz emacs-88d1e9b436c8778c90b7a57a152aee8071ac77b9.tar.bz2 emacs-88d1e9b436c8778c90b7a57a152aee8071ac77b9.zip |
Declare more functions as having important-return-value
* lisp/subr.el (assoc-delete-all, assq-delete-all, rassq-delete-all)
(alist-get): Declare as important-return-value.
* lisp/emacs-lisp/bytecomp.el (important-return-value-fns):
Add `assoc-string`.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index deda4573229..b8d7b63a81a 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -3561,7 +3561,7 @@ lambda-expression." ;; These functions are side-effect-free except for the ;; behaviour of functions passed as argument. mapcar mapcan mapconcat - assoc plist-get plist-member + assoc assoc-string plist-get plist-member ;; It's safe to ignore the value of `sort' and `nreverse' ;; when used on arrays, but most calls pass lists. |