diff options
| author | Eli Zaretskii | 2025-04-10 14:36:43 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2025-04-10 14:36:43 +0300 |
| commit | 50947fd51202dbdd86b1cc677722ab2031c5050b (patch) | |
| tree | 050fb1315446e2fbf2f0c4f0dd51fbac748d3639 /exec | |
| parent | 426a016d612a539178a913b68fd395d94919af64 (diff) | |
| download | emacs-50947fd51202dbdd86b1cc677722ab2031c5050b.tar.gz emacs-50947fd51202dbdd86b1cc677722ab2031c5050b.zip | |
Avoid warnings about lexbind cookies where they aren't needed
* lisp/emacs-lisp/warnings.el (warning-inhibit-types): New variable.
(display-warning): If TYPE matches 'warning-inhibit-types', don't
display the warning, even if it's emitted during startup.
* lisp/startup.el (normal-top-level):
* lisp/savehist.el (savehist-mode):
* lisp/url/url-cookie.el (url-cookie-parse-file):
* lisp/recentf.el (recentf-load-list):
* lisp/abbrev.el (read-abbrev-file): Bind 'warning-inhibit-types'
to avoid warning about missing lexbind cookie when loading files
that Emacs itself generates.
Diffstat (limited to 'exec')
0 files changed, 0 insertions, 0 deletions