changeset 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 f444ea4046e9
children caafb376e619
files lisp/progmodes/compile.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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