From: Roland McGrath Date: Wed, 20 Apr 1994 19:52:37 +0000 (+0000) Subject: (compilation-parse-errors): Fix references for column number, 3 elt not X-Git-Tag: emacs-19.34~8864 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8425a49a3c9935fb9b0350430c712808aaa768eb;p=emacs.git (compilation-parse-errors): Fix references for column number, 3 elt not 2nd. --- diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 813412942d1..cc7e0b6fb28 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -1100,8 +1100,8 @@ See variable `compilation-parse-errors-function' for the interface it uses." (cons (list subexpr (+ subexpr (nth 1 (car alist))) (+ subexpr (nth 2 (car alist))) - (and (nth 2 (car alist)) - (+ subexpr (nth 2 (car alist))))) + (and (nth 3 (car alist)) + (+ subexpr (nth 3 (car alist))))) error-regexp-groups)) (setq subexpr (+ subexpr 1 (count-regexp-groupings (car (car alist))))) (setq alist (cdr alist)))