]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix native-comp-async-report-warnings-errors :type
authorBasil L. Contovounesios <contovob@tcd.ie>
Sat, 22 May 2021 12:22:29 +0000 (13:22 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Sat, 22 May 2021 12:22:29 +0000 (13:22 +0100)
* doc/lispref/compile.texi (Native-Compilation Variables): Document
'silent' alternative of native-comp-async-report-warnings-errors.
* lisp/emacs-lisp/comp.el
(native-comp-async-report-warnings-errors): Fix quoting in
:type expression (bug#48586).

doc/lispref/compile.texi
lisp/emacs-lisp/comp.el

index ee31b17af72ae616140e83c4c4a2fe346a9fae4b..f48f4f47e8b27df20de29c0688a9137b353d23ff 100644 (file)
@@ -1028,7 +1028,10 @@ execution unit.
 @defopt native-comp-async-report-warnings-errors
 If this variable's value is non-@code{nil}, warnings and errors from
 asynchronous native-compilation subprocesses are reported in the main
-Emacs session.  The default is @code{t}.
+Emacs session in a buffer named @file{*Warnings*}.  The default value
+@code{t} means display the resulting buffer.  To log warnings without
+popping up the @file{*Warnings*} buffer, set this variable to
+@code{silent}.
 @end defopt
 
 @defopt native-comp-async-query-on-exit
index 8c638312b05c0d3e1f4d0b83aa583e0afe42ceec..b09739cb92e30cc428a28cb231c77957e20f4f5b 100644 (file)
@@ -154,7 +154,7 @@ buffer."
   :type '(choice
           (const :tag "Do not report warnings" nil)
           (const :tag "Report and display warnings" t)
-          (const :tag "Report but do not display warnings" 'silent))
+          (const :tag "Report but do not display warnings" silent))
   :version "28.1")
 
 (defcustom native-comp-async-query-on-exit nil