diff options
| -rw-r--r-- | etc/NEWS | 6 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 10 |
2 files changed, 10 insertions, 6 deletions
| @@ -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. |
| 221 | The user option 'compilation-error-case-fold-search' can be set | 221 | The variable 'compilation-error-case-fold-search' can be set for |
| 222 | for case-insensitive matching of messages. | 222 | case-insensitive matching of messages when the old behaviour is |
| 223 | required, but the recommended solution is to use a correctly matching | ||
| 224 | regexp 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 |
| 651 | by the regexps of `compilation-error-regexp-alist' and | 651 | by the regexps of `compilation-error-regexp-alist' and |
| 652 | `compilation-error-regexp-alist-alist'. | 652 | `compilation-error-regexp-alist-alist'. |
| 653 | If nil, matching is case-sensitive." | 653 | If nil, matching is case-sensitive. |
| 654 | :type 'boolean | 654 | |
| 655 | :version "28.1") | 655 | This variable should only be set for backward compatibility as a temporary |
| 656 | measure. The proper solution is to use a regexp that matches the | ||
| 657 | messages 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 |