# HG changeset patch # User Roland McGrath # Date 742705697 0 # Node ID d24725412d47491d94cd569b310ed7be7414f11d # Parent e72012acb5fb087f3c3ce5530faf74e1acc56c1c (compilation-parse-errors): After skipping two lines, move one char back so point before the newline. diff -r e72012acb5fb -r d24725412d47 lisp/progmodes/compile.el --- a/lisp/progmodes/compile.el Thu Jul 15 01:55:13 1993 +0000 +++ b/lisp/progmodes/compile.el Thu Jul 15 03:08:17 1993 +0000 @@ -917,7 +917,12 @@ ;; Don't parse the first two lines as error messages. ;; This matters for grep. (if (bobp) - (forward-line 2)) + (progn + (forward-line 2) + ;; Move back so point is before the newline. + ;; This matters because some error regexps use \n instead of ^ + ;; to be faster. + (forward-char -1))) ;; Compile all the regexps we want to search for into one. (setq regexp (concat "\\(" compilation-enter-directory-regexp "\\)\\|"