Declare cl-delete to have important-return-value (bug#61730)

* lisp/emacs-lisp/cl-macs.el: Set property on `cl-delete`.
* lisp/progmodes/python.el (python-shell--add-to-path-with-priority):
Prevent warning by cleaner code.
This commit is contained in:
Mattias Engdegård 2023-05-01 17:22:02 +02:00
parent 7acb3f1c06
commit aa135e09b6
2 changed files with 2 additions and 4 deletions

View file

@ -3683,8 +3683,7 @@ macro that returns its `&whole' argument."
cl-tree-equal
;; Functions that mutate and return a list.
;;cl-delete
cl-delete-if cl-delete-if-not
cl-delete cl-delete-if cl-delete-if-not
cl-delete-duplicates
cl-nsubst cl-nsubst-if cl-nsubst-if-not
cl-nsubstitute cl-nsubstitute-if cl-nsubstitute-if-not