emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] scratch/with-suppressed-warnings c1980ab 4/4: Expand the d


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] scratch/with-suppressed-warnings c1980ab 4/4: Expand the doc string to with-suppressed-warnings.
Date: Sun, 9 Jun 2019 12:16:54 -0400 (EDT)

branch: scratch/with-suppressed-warnings
commit c1980ab25a8650ae6ee124b1f5f1b265ef00d6b2
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Expand the doc string to with-suppressed-warnings.
---
 lisp/emacs-lisp/byte-run.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el
index 8fe3cca..5437ac0 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))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]