summaryrefslogtreecommitdiff
path: root/lisp/progmodes/compile.el
diff options
context:
space:
mode:
authorJed Brown <jed@59A2.org>2013-10-23 09:25:56 -0700
committerGlenn Morris <rgm@gnu.org>2013-10-23 09:25:56 -0700
commitf493ff19e981bad0ab8146c41fa65945de977088 (patch)
tree19ae9afa533d67905106852674b2f1333812459d /lisp/progmodes/compile.el
parent66b238dff6ec9c82d20c77c284623f6f15c73388 (diff)
downloademacs-f493ff19e981bad0ab8146c41fa65945de977088.tar.gz
emacs-f493ff19e981bad0ab8146c41fa65945de977088.tar.bz2
emacs-f493ff19e981bad0ab8146c41fa65945de977088.zip
compile: Support GNU Make-4.0 directory quoting (tiny change)
* lisp/progmodes/compile.el (compilation-directory-matcher) (compilation-page-delimiter): Support GNU Make-4.0 directory quoting. Fixes: debbugs:15678
Diffstat (limited to 'lisp/progmodes/compile.el')
-rw-r--r--lisp/progmodes/compile.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 3b86ddc1567..54f03728524 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -513,7 +513,7 @@ listed text properties PROP# are given values VAL# as well."
"Directory to restore to when doing `recompile'.")
(defvar compilation-directory-matcher
- '("\\(?:Entering\\|Leavin\\(g\\)\\) directory `\\(.+\\)'$" (2 . 1))
+ '("\\(?:Entering\\|Leavin\\(g\\)\\) directory [`']\\(.+\\)'$" (2 . 1))
"A list for tracking when directories are entered or left.
If nil, do not track directories, e.g. if all file names are absolute. The
first element is the REGEXP matching these messages. It can match any number
@@ -526,7 +526,7 @@ directory we were in before the last entering message. If you change this,
you may also want to change `compilation-page-delimiter'.")
(defvar compilation-page-delimiter
- "^\\(?:\f\\|.*\\(?:Entering\\|Leaving\\) directory `.+'\n\\)+"
+ "^\\(?:\f\\|.*\\(?:Entering\\|Leaving\\) directory [`'].+'\n\\)+"
"Value of `page-delimiter' in Compilation mode.")
(defvar compilation-mode-font-lock-keywords