diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-06-09 18:16:33 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-06-09 18:16:33 +0200 |
commit | c1980ab25a8650ae6ee124b1f5f1b265ef00d6b2 (patch) | |
tree | 9857a1f89caba7e8f18c79698c90a7d95bace398 | |
parent | 087cfbc6ec71b3b1cf4db014edc9dc90d53e103c (diff) | |
download | emacs-c1980ab25a8650ae6ee124b1f5f1b265ef00d6b2.tar.gz |
Expand the doc string to with-suppressed-warnings.
-rw-r--r-- | lisp/emacs-lisp/byte-run.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el index 8fe3ccaec72..5437ac017bd 100644 --- a/lisp/emacs-lisp/byte-run.el +++ b/lisp/emacs-lisp/byte-run.el @@ -501,9 +501,11 @@ WARNINGS is an associative list where the first element of each list is a warning type, and the rest of the elements in each list are symbols they apply to. For instance, if you want to suppress byte compilation warnings about the two obsolete functions `foo' -and `bar', say +and `bar', and the obsolete variable `zot' (being called with the +wrong number of parameters), say -\(with-suppressed-warnings ((obsolete foo bar)) +\(with-suppressed-warnings ((obsolete foo bar) + (callargs zot)) (foo) (bar)) |