[Top][All Lists]

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

master d5ee49c25c: Fix variable types in warnings-suppress

From: Lars Ingebrigtsen
Subject: master d5ee49c25c: Fix variable types in warnings-suppress
Date: Mon, 15 Aug 2022 03:36:42 -0400 (EDT)

branch: master
commit d5ee49c25c8f59ab17c40eebdf38a769c2f5588b
Author: Yury Kholodkov <yurykholodkov@gmail.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix variable types in warnings-suppress
    * lisp/emacs-lisp/warnings.el (warnings-suppress): The type of
    these user options is a list of lists of symbols, not a list of
    symbols (bug#57183).
    Copyright-paperwork-exempt: yes
 lisp/emacs-lisp/warnings.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el
index d60eedbc9c..3a966957ec 100644
--- a/lisp/emacs-lisp/warnings.el
+++ b/lisp/emacs-lisp/warnings.el
@@ -220,10 +220,10 @@ SUPPRESS-LIST is the list of kinds of warnings to 
              (?q "quit and do nothing"))))
      (customize-save-variable 'warning-suppress-log-types
-                              (cons type warning-suppress-log-types)))
+                              (cons (list type) warning-suppress-log-types)))
      (customize-save-variable 'warning-suppress-types
-                              (cons type warning-suppress-types)))
+                              (cons (list type) warning-suppress-types)))
     (_ (message "Exiting"))))

reply via email to

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