Commit 4ad26d84 authored by Roland McGrath's avatar Roland McGrath
Browse files

(compilation-next-error-locus): Parsed column numbers are 1-origin.

parent b0e4a7ad
......@@ -1000,7 +1000,8 @@ The current buffer should be the desired compilation output buffer."
(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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment