diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2020-03-26 10:58:30 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2020-03-28 14:36:32 +0100 |
commit | dfeb87d8e54ee5f2ce3e16d34a812131bb2f6e4d (patch) | |
tree | 6a475f8207baeabed0768ab3cb9619ff7ef55b60 /lisp/progmodes/compile.el | |
parent | e6c6486ee0b4e50c61c062f475bbe473cfd397f9 (diff) | |
download | emacs-dfeb87d8e54ee5f2ce3e16d34a812131bb2f6e4d.tar.gz emacs-dfeb87d8e54ee5f2ce3e16d34a812131bb2f6e4d.tar.bz2 emacs-dfeb87d8e54ee5f2ce3e16d34a812131bb2f6e4d.zip |
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.
Diffstat (limited to 'lisp/progmodes/compile.el')
-rw-r--r-- | lisp/progmodes/compile.el | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index f4532b7edb7..e5878b28f96 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -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 |