mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Turn compilation-error-case-fold-search into a defvar
See bug#40119, and the discussion at https://lists.gnu.org/archive/html/emacs-devel/2020-03/msg00653.html * lisp/progmodes/compile.el (compilation-error-case-fold-search): Turn into a defvar. * etc/NEWS: Update.
This commit is contained in:
parent
e6c6486ee0
commit
dfeb87d8e5
2 changed files with 10 additions and 6 deletions
6
etc/NEWS
6
etc/NEWS
|
|
@ -218,8 +218,10 @@ Defaults to 'libravatar', with 'unicornify' and 'gravatar' as options.
|
|||
** Compilation mode
|
||||
|
||||
*** Regexp matching of messages is now case-sensitive by default.
|
||||
The user option 'compilation-error-case-fold-search' can be set
|
||||
for case-insensitive matching of messages.
|
||||
The variable 'compilation-error-case-fold-search' can be set for
|
||||
case-insensitive matching of messages when the old behaviour is
|
||||
required, but the recommended solution is to use a correctly matching
|
||||
regexp instead.
|
||||
|
||||
|
||||
* New Modes and Packages in Emacs 28.1
|
||||
|
|
|
|||
|
|
@ -646,13 +646,15 @@ matched file names, and weeding out false positives."
|
|||
:link `(file-link :tag "example file"
|
||||
,(expand-file-name "compilation.txt" data-directory)))
|
||||
|
||||
(defcustom compilation-error-case-fold-search nil
|
||||
(defvar compilation-error-case-fold-search nil
|
||||
"If non-nil, use case-insensitive matching of compilation errors
|
||||
by the regexps of `compilation-error-regexp-alist' and
|
||||
`compilation-error-regexp-alist-alist'.
|
||||
If nil, matching is case-sensitive."
|
||||
:type 'boolean
|
||||
:version "28.1")
|
||||
If nil, matching is case-sensitive.
|
||||
|
||||
This variable should only be set for backward compatibility as a temporary
|
||||
measure. The proper solution is to use a regexp that matches the
|
||||
messages without case-folding.")
|
||||
|
||||
;;;###autoload(put 'compilation-directory 'safe-local-variable 'stringp)
|
||||
(defvar compilation-directory nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue