emacs-diffs
[Top][All Lists]
Advanced

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

feature/native-comp ad74b1b: * Improve `comp-async-report-warnings-error


From: Andrea Corallo
Subject: feature/native-comp ad74b1b: * Improve `comp-async-report-warnings-errors' docstring
Date: Fri, 26 Feb 2021 09:25:39 -0500 (EST)

branch: feature/native-comp
commit ad74b1b2b64cfe989213fc69337dbb0eda858d10
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>

    * Improve `comp-async-report-warnings-errors' docstring
    
        * lisp/emacs-lisp/comp.el (comp-async-report-warnings-errors):
        Improve docstring.
---
 lisp/emacs-lisp/comp.el | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index c242c5c..184aef4 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -124,7 +124,18 @@ Usable to modify the compiler environment."
   :type 'list)
 
 (defcustom comp-async-report-warnings-errors t
-  "Whether to report warnings and errors from asynchronous native compilation."
+  "Whether to report warnings and errors from asynchronous native compilation.
+
+When native compilation happens asynchronously this can produce
+warnings and errors, some of these diagnostic messages might not be
+emitted by the first synchronous byte-compilation.  The typical case
+for that is byte-compiling a file that is missing to require a
+necessary feature while having it already loaded into the environment.
+
+As asynchronous native compilation always starts from a fresh
+environment it is more sensitive into highlighting issues about non
+consistent source files and might not be able to compile correctly
+these."
   :type 'boolean)
 
 (defcustom comp-async-query-on-exit nil



reply via email to

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