diff options
author | Eli Zaretskii <eliz@gnu.org> | 2024-02-29 15:37:19 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2024-02-29 15:37:19 +0200 |
commit | 39239982403f01a37d42d1cd8db0b2ed0b48b50c (patch) | |
tree | 754a06669f20683fe433f29b5252304b231ba03f /lisp/emacs-lisp/comp-run.el | |
parent | 62bdd307a7fd6c319529b7b20425b993a2945043 (diff) | |
download | emacs-39239982403f01a37d42d1cd8db0b2ed0b48b50c.tar.gz emacs-39239982403f01a37d42d1cd8db0b2ed0b48b50c.tar.bz2 emacs-39239982403f01a37d42d1cd8db0b2ed0b48b50c.zip |
Improve documentation of recent changes in comp-run.el
* lisp/emacs-lisp/comp-run.el
(native-comp-async-warnings-errors-kind): Rename from
'native-comp-async-report-warnings-errors-kind', and rename
'importants' to 'important'; all users changed. Doc fix.
* etc/NEWS: Announce the new option.
Diffstat (limited to 'lisp/emacs-lisp/comp-run.el')
-rw-r--r-- | lisp/emacs-lisp/comp-run.el | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/lisp/emacs-lisp/comp-run.el b/lisp/emacs-lisp/comp-run.el index eec50c39c68..057760322ab 100644 --- a/lisp/emacs-lisp/comp-run.el +++ b/lisp/emacs-lisp/comp-run.el @@ -77,17 +77,16 @@ buffer." (const :tag "Report but do not display warnings/errors" silent)) :version "28.1") -(defcustom native-comp-async-report-warnings-errors-kind 'importants - "Select which kind of warnings and errors to report. +(defcustom native-comp-async-warnings-errors-kind 'important + "Which kind of warnings and errors to report from async native compilation. -Set this variable to `importants' to have only important warnings and -all errors to be reported. - -Set this variable to `all' to have all warnings and errors to be -reported." +Setting this variable to `important' (the default) will report +only important warnings and all errors. +Setting this variable to `all' will report all warnings and +errors." :type '(choice (const :tag "Report all warnings/errors" all) - (const :tag "Report only important warnings and errors" importants)) + (const :tag "Report important warnings and all errors" important)) :version "30.1") (defcustom native-comp-always-compile nil @@ -198,7 +197,7 @@ processes from `comp-async-compilations'" (if (eq native-comp-async-report-warnings-errors 'silent) (cons '(comp) warning-suppress-types) warning-suppress-types)) - (regexp (if (eq native-comp-async-report-warnings-errors-kind 'all) + (regexp (if (eq native-comp-async-warnings-errors-kind 'all) "^.*?\\(?:Error\\|Warning\\): .*$" (rx bol (*? nonl) |