diff options
| author | Yury Kholodkov | 2022-08-15 09:36:06 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-08-15 09:36:06 +0200 |
| commit | d5ee49c25c8f59ab17c40eebdf38a769c2f5588b (patch) | |
| tree | 3717483029f2cdd5ba020f31ee2b58e67d86e0ea | |
| parent | 20b8ac5723661de8920c0090fe91368d3229723c (diff) | |
| download | emacs-d5ee49c25c8f59ab17c40eebdf38a769c2f5588b.tar.gz emacs-d5ee49c25c8f59ab17c40eebdf38a769c2f5588b.zip | |
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
| -rw-r--r-- | lisp/emacs-lisp/warnings.el | 4 |
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." | |||
| 220 | (?q "quit and do nothing")))) | 220 | (?q "quit and do nothing")))) |
| 221 | (?y | 221 | (?y |
| 222 | (customize-save-variable 'warning-suppress-log-types | 222 | (customize-save-variable 'warning-suppress-log-types |
| 223 | (cons type warning-suppress-log-types))) | 223 | (cons (list type) warning-suppress-log-types))) |
| 224 | (?n | 224 | (?n |
| 225 | (customize-save-variable 'warning-suppress-types | 225 | (customize-save-variable 'warning-suppress-types |
| 226 | (cons type warning-suppress-types))) | 226 | (cons (list type) warning-suppress-types))) |
| 227 | (_ (message "Exiting")))) | 227 | (_ (message "Exiting")))) |
| 228 | 228 | ||
| 229 | ;;;###autoload | 229 | ;;;###autoload |