unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#57183: [PATCH] fix regression in 0db604a914
@ 2022-08-13 13:42 Yury Kholodkov
  2022-08-15  7:36 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Yury Kholodkov @ 2022-08-13 13:42 UTC (permalink / raw)
  To: 57183

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 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#57183: [PATCH] fix regression in 0db604a914
  2022-08-13 13:42 bug#57183: [PATCH] fix regression in 0db604a914 Yury Kholodkov
@ 2022-08-15  7:36 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-08-15  7:36 UTC (permalink / raw)
  To: Yury Kholodkov; +Cc: 57183

Yury Kholodkov <yurykholodkov@gmail.com> writes:

>               (?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"))))

Thanks; pushed to Emacs 29.






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-15  7:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-13 13:42 bug#57183: [PATCH] fix regression in 0db604a914 Yury Kholodkov
2022-08-15  7:36 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).