]> git.eshelyaron.com Git - emacs.git/commitdiff
Disable unused-return-value warning for delq and delete, again
authorMattias Engdegård <mattiase@acm.org>
Wed, 31 May 2023 14:34:01 +0000 (16:34 +0200)
committerMattias Engdegård <mattiase@acm.org>
Wed, 31 May 2023 15:09:12 +0000 (17:09 +0200)
* lisp/emacs-lisp/bytecomp.el (important-return-value-fns):
Remove `delq` and `delete` since they resulted in false
positives that nobody was interested in silencing (bug#61730).

lisp/emacs-lisp/bytecomp.el

index b7ae45a061093f61386943461c5944c1c877b1e9..384a357ee51becdcdb34d01dddfc5c2b7b64d373 100644 (file)
@@ -3568,9 +3568,9 @@ lambda-expression."
 
          match-data
 
-         ;; Adding these functions causes many warnings;
-         ;; evaluate how many of them are false first.
-         delq delete
+         ;; Warning about these functions causes some false positives that are
+         ;; laborious to eliminate; see bug#61730.
+         ;;delq delete
          ;;nconc plist-put
          )))
   (dolist (fn important-return-value-fns)