aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/NEWS6
-rw-r--r--lisp/progmodes/compile.el10
2 files changed, 10 insertions, 6 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 49b7fcd8c21..870d39f7eef 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -218,8 +218,10 @@ Defaults to 'libravatar', with 'unicornify' and 'gravatar' as options.
218** Compilation mode 218** Compilation mode
219 219
220*** Regexp matching of messages is now case-sensitive by default. 220*** Regexp matching of messages is now case-sensitive by default.
221The user option 'compilation-error-case-fold-search' can be set 221The variable 'compilation-error-case-fold-search' can be set for
222for case-insensitive matching of messages. 222case-insensitive matching of messages when the old behaviour is
223required, but the recommended solution is to use a correctly matching
224regexp instead.
223 225
224 226
225* New Modes and Packages in Emacs 28.1 227* New Modes and Packages in Emacs 28.1
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