diff lisp/progmodes/compile.el @ 10092:b53266f04fd9

(compilation-next-error-locus): Parsed column numbers are 1-origin.
author Roland McGrath <roland@gnu.org>
date Wed, 30 Nov 1994 19:37:48 +0000
parents 9d7972f4657c
children f404f4123318
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Tue Nov 29 22:01:25 1994 +0000
+++ b/lisp/progmodes/compile.el	Wed Nov 30 19:37:48 1994 +0000
@@ -1000,7 +1000,8 @@
 			      (widen)
 			      (goto-line last-line)
 			      (if column
-				  (move-to-column column)
+				  ;; Columns in error msgs are 1-origin.
+				  (move-to-column (1- column))
 				(beginning-of-line))
 			      (setcdr next-error (point-marker))
 			      ;; Make all the other error messages referring