[Top][All Lists]

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

emacs-27 a1cbd05: Improve documentation of 'with-suppressed-warnings'.

From: Philipp Stephani
Subject: emacs-27 a1cbd05: Improve documentation of 'with-suppressed-warnings'.
Date: Fri, 8 May 2020 16:12:55 -0400 (EDT)

branch: emacs-27
commit a1cbd05f3892fc86815f69bc50d8ab9175b7b082
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>

    Improve documentation of 'with-suppressed-warnings'.
    * lisp/emacs-lisp/byte-run.el (with-suppressed-warnings): Refer to
    'byte-compile-warnings' instead of 'byte-compile-warning-types', as
    only the former variable documents the available warning types.
 lisp/emacs-lisp/byte-run.el | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el
index 6a49c60..70fe060 100644
--- a/lisp/emacs-lisp/byte-run.el
+++ b/lisp/emacs-lisp/byte-run.el
@@ -513,11 +513,12 @@ wrong number of parameters, say
   (zot 1 2))
 The warnings that can be suppressed are a subset of the warnings
-in `byte-compile-warning-types'; see this variable for a fuller
-explanation of the warning types.  The types that can be
-suppressed with this macro are `free-vars', `callargs',
-`redefine', `obsolete', `interactive-only', `lexical', `mapcar',
-`constants' and `suspicious'.
+in `byte-compile-warning-types'; see the variable
+`byte-compile-warnings' for a fuller explanation of the warning
+types.  The types that can be suppressed with this macro are
+`free-vars', `callargs', `redefine', `obsolete',
+`interactive-only', `lexical', `mapcar', `constants' and
 For the `mapcar' case, only the `mapcar' function can be used in
 the symbol list.  For `suspicious', only `set-buffer' can be used."

reply via email to

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