mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
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
This commit is contained in:
parent
20b8ac5723
commit
d5ee49c25c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user