From ddf8587bb542d9826aa7c66e97365923d3f53ea0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Wed, 31 May 2023 16:34:01 +0200 Subject: [PATCH] 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) -- 2.39.2