comp: don't require 'warnings' in comp-run

* lisp/emacs-lisp/comp-run.el (warnings): Don't require.
(warning-suppress-types): Wave warning.
* lisp/emacs-lisp/warnings.el (warning-suppress-types): Autoload it.
This commit is contained in:
Andrea Corallo 2023-10-25 23:50:39 +02:00
parent 4bb1863567
commit 93cc43a23c
2 changed files with 3 additions and 1 deletions

View file

@ -106,6 +106,7 @@ so only the element (FOO) will match it."
:type '(repeat (repeat symbol))
:version "22.1")
;;;###autoload
(defcustom warning-suppress-types nil
"List of warning types not to display immediately.
If any element of this list matches the TYPE argument to `display-warning',