diff options
author | Andrea Corallo <akrl@sdf.org> | 2021-05-06 14:54:32 +0200 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2021-05-06 17:16:08 +0200 |
commit | c90129c5e5404d12b538aa3b69c7af4b89a728cd (patch) | |
tree | 5d06db6e5723870c60921087fa50061e3d55507a /lisp/emacs-lisp | |
parent | 4e01605efab2ad8521ed9783d64862a6459ec91f (diff) | |
download | emacs-c90129c5e5404d12b538aa3b69c7af4b89a728cd.tar.gz emacs-c90129c5e5404d12b538aa3b69c7af4b89a728cd.tar.bz2 emacs-c90129c5e5404d12b538aa3b69c7af4b89a728cd.zip |
* Rename comp-async-report-warnings-errors
* lisp/emacs-lisp/comp.el (native-comp-async-report-warnings-errors)
(comp-accept-and-process-async-output): Rename
comp-async-report-warnings-errors →
native-comp-async-report-warnings-errors.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/comp.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 24b65424a18..908a71846ae 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -134,7 +134,7 @@ Used to modify the compiler environment." :risky t :version "28.1") -(defcustom comp-async-report-warnings-errors t +(defcustom native-comp-async-report-warnings-errors t "Whether to report warnings and errors from asynchronous native compilation. When native compilation happens asynchronously, it can produce @@ -3873,7 +3873,7 @@ processes from `comp-async-compilations'" (make-variable-buffer-local 'comp-last-scanned-async-output) (defun comp-accept-and-process-async-output (process) "Accept PROCESS output and check for diagnostic messages." - (if comp-async-report-warnings-errors + (if native-comp-async-report-warnings-errors (with-current-buffer (process-buffer process) (save-excursion (accept-process-output process) |