summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/warnings.el
diff options
context:
space:
mode:
authorPhilip Kaludercic <philipk@posteo.net>2022-08-18 09:23:45 +0200
committerPhilip Kaludercic <philipk@posteo.net>2022-08-18 09:23:45 +0200
commitd3f03666bbd6c506d65650c33413df826f502065 (patch)
tree52c932f10280cc9a63a4cebb2a673b5e49a5a0d2 /lisp/emacs-lisp/warnings.el
parent57e16b316d76b77de4252b7923eab8199b8c3fd5 (diff)
parent9f26a8d31b1c7e6a596ca0933f327df5ac60463d (diff)
downloademacs-d3f03666bbd6c506d65650c33413df826f502065.tar.gz
emacs-d3f03666bbd6c506d65650c33413df826f502065.tar.bz2
emacs-d3f03666bbd6c506d65650c33413df826f502065.zip
Merge remote-tracking branch 'origin/master' into feature/package+vc
Diffstat (limited to 'lisp/emacs-lisp/warnings.el')
-rw-r--r--lisp/emacs-lisp/warnings.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el
index d60eedbc9cd..3a966957ec5 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 suppress."
(?q "quit and do nothing"))))
(?y
(customize-save-variable 'warning-suppress-log-types
- (cons type warning-suppress-log-types)))
+ (cons (list type) warning-suppress-log-types)))
(?n
(customize-save-variable 'warning-suppress-types
- (cons type warning-suppress-types)))
+ (cons (list type) warning-suppress-types)))
(_ (message "Exiting"))))
;;;###autoload