aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorMattias EngdegÄrd2020-03-26 10:58:30 +0100
committerMattias EngdegÄrd2020-03-28 14:36:32 +0100
commitdfeb87d8e54ee5f2ce3e16d34a812131bb2f6e4d (patch)
tree6a475f8207baeabed0768ab3cb9619ff7ef55b60 /lisp
parente6c6486ee0b4e50c61c062f475bbe473cfd397f9 (diff)
downloademacs-dfeb87d8e54ee5f2ce3e16d34a812131bb2f6e4d.tar.gz
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')
-rw-r--r--lisp/progmodes/compile.el10
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."
646 :link `(file-link :tag "example file" 646 :link `(file-link :tag "example file"
647 ,(expand-file-name "compilation.txt" data-directory))) 647 ,(expand-file-name "compilation.txt" data-directory)))
648 648
649(defcustom compilation-error-case-fold-search nil 649(defvar compilation-error-case-fold-search nil
650 "If non-nil, use case-insensitive matching of compilation errors 650 "If non-nil, use case-insensitive matching of compilation errors
651by the regexps of `compilation-error-regexp-alist' and 651by the regexps of `compilation-error-regexp-alist' and
652`compilation-error-regexp-alist-alist'. 652`compilation-error-regexp-alist-alist'.
653If nil, matching is case-sensitive." 653If nil, matching is case-sensitive.
654 :type 'boolean 654
655 :version "28.1") 655This variable should only be set for backward compatibility as a temporary
656measure. The proper solution is to use a regexp that matches the
657messages without case-folding.")
656 658
657;;;###autoload(put 'compilation-directory 'safe-local-variable 'stringp) 659;;;###autoload(put 'compilation-directory 'safe-local-variable 'stringp)
658(defvar compilation-directory nil 660(defvar compilation-directory nil