`(,(car elt)
(compilation-directory-properties
,(car elt) ,(cdr elt))
- t))
+ t t))
(cdr compilation-directory-matcher)))))
;; Compiler warning/error lines.
;; allowed `line' to be a function that computed the actual
;; error location. Let's do our best.
`(,(car item)
- (0 (compilation-compat-error-properties
- (funcall ',line (cons (match-string ,file)
- (cons default-directory
- ',(nthcdr 4 item)))
- ,(if col `(match-string ,col)))))
+ (0 (save-match-data
+ (compilation-compat-error-properties
+ (funcall ',line (cons (match-string ,file)
+ (cons default-directory
+ ',(nthcdr 4 item)))
+ ,(if col `(match-string ,col))))))
(,file compilation-error-face t))
(unless (or (null (nth 5 item)) (integerp (nth 5 item)))
(point))))
(set-window-point w mk))
+(defvar next-error-highlight-timer)
+
(defun compilation-goto-locus (msg mk end-mk)
"Jump to an error corresponding to MSG at MK.
All arguments are markers. If END-MK is non-nil, mark is set there