emacs-diffs
[Top][All Lists]
Advanced

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

master 43fd137: Fix native-comp-async-report-warnings-errors :type


From: Basil L. Contovounesios
Subject: master 43fd137: Fix native-comp-async-report-warnings-errors :type
Date: Sat, 22 May 2021 08:27:13 -0400 (EDT)

branch: master
commit 43fd13770a8ac8452669e4de3281e9189cb36c5a
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>

    Fix native-comp-async-report-warnings-errors :type
    
    * 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 | 5 ++++-
 lisp/emacs-lisp/comp.el  | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/doc/lispref/compile.texi b/doc/lispref/compile.texi
index ee31b17..f48f4f4 100644
--- a/doc/lispref/compile.texi
+++ b/doc/lispref/compile.texi
@@ -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
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 8c63831..b09739c 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -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



reply via email to

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