diff options
| -rw-r--r-- | lisp/progmodes/compile.el | 2 |
1 files changed, 1 insertions, 1 deletions
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. | |||
| 991 | ;; note that omake usage is not limited to ocaml and C (for stubs). | 991 | ;; note that omake usage is not limited to ocaml and C (for stubs). |
| 992 | (when (and (= ?^ (aref pat 0)) ; anchored: starts with "^" | 992 | (when (and (= ?^ (aref pat 0)) ; anchored: starts with "^" |
| 993 | ;; but does not allow an arbitrary number of leading spaces | 993 | ;; but does not allow an arbitrary number of leading spaces |
| 994 | (not (and (= ? (aref pat 1)) (= ?* (aref pat 1))))) | 994 | (not (and (= ? (aref pat 1)) (= ?* (aref pat 2))))) |
| 995 | (setq pat (concat "^ *" (substring pat 1)))) | 995 | (setq pat (concat "^ *" (substring pat 1)))) |
| 996 | (if (consp file) (setq fmt (cdr file) file (car file))) | 996 | (if (consp file) (setq fmt (cdr file) file (car file))) |
| 997 | (if (consp line) (setq end-line (cdr line) line (car line))) | 997 | (if (consp line) (setq end-line (cdr line) line (car line))) |