emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ddf8587bb54 3/3: Disable unused-return-value warning for delq and


From: Mattias Engdegård
Subject: master ddf8587bb54 3/3: Disable unused-return-value warning for delq and delete, again
Date: Wed, 31 May 2023 11:17:00 -0400 (EDT)

branch: master
commit ddf8587bb542d9826aa7c66e97365923d3f53ea0
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    Disable unused-return-value warning for delq and delete, again
    
    * 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 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index b7ae45a0610..384a357ee51 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]