From: Sam Steingold Date: Tue, 13 Oct 2009 02:59:19 +0000 (+0000) Subject: fix a typo in the last patch X-Git-Tag: emacs-pretest-23.1.90~820 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1d57e5e2e3241d729c6584ce65bbc07b728fa150;p=emacs.git fix a typo in the last patch --- 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)))