From 1d57e5e2e3241d729c6584ce65bbc07b728fa150 Mon Sep 17 00:00:00 2001 From: Sam Steingold Date: Tue, 13 Oct 2009 02:59:19 +0000 Subject: [PATCH] fix a typo in the last patch --- lisp/progmodes/compile.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index c44ddfdb242..5612e64c02d 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -991,7 +991,7 @@ FMTS is a list of format specs for transforming the file name. ;; note that omake usage is not limited to ocaml and C (for stubs). (when (and (= ?^ (aref pat 0)) ; anchored: starts with "^" ;; but does not allow an arbitrary number of leading spaces - (not (and (= ? (aref pat 1)) (= ?* (aref pat 1))))) + (not (and (= ? (aref pat 1)) (= ?* (aref pat 2))))) (setq pat (concat "^ *" (substring pat 1)))) (if (consp file) (setq fmt (cdr file) file (car file))) (if (consp line) (setq end-line (cdr line) line (car line))) -- 2.11.4.GIT