Index: emacs/lisp/progmodes/flymake.el
diff -c emacs/lisp/progmodes/flymake.el:1.28 
emacs/lisp/progmodes/flymake.el:1.29
*** emacs/lisp/progmodes/flymake.el:1.28        Mon Aug 15 21:29:32 2005
--- emacs/lisp/progmodes/flymake.el     Fri Aug 26 13:48:33 2005
***************
*** 806,816 ****
  (defun flymake-highlight-err-lines (buffer err-info-list)
    "Highlight error lines in BUFFER using info from ERR-INFO-LIST."
    (with-current-buffer buffer
      (let* ((idx    0)
           (count  (length err-info-list)))
        (while (< idx count)
!       (flymake-highlight-line (car (nth idx err-info-list)) (nth 1 (nth idx 
err-info-list)))
!       (setq idx (1+ idx))))))
  
  (defun flymake-overlay-p (ov)
    "Determine whether overlay OV was created by flymake."
--- 806,818 ----
  (defun flymake-highlight-err-lines (buffer err-info-list)
    "Highlight error lines in BUFFER using info from ERR-INFO-LIST."
    (with-current-buffer buffer
+    (save-excursion
      (let* ((idx    0)
           (count  (length err-info-list)))
        (while (< idx count)
!       (flymake-highlight-line (car (nth idx err-info-list))
!                               (nth 1 (nth idx err-info-list)))
!       (setq idx (1+ idx)))))))
  
  (defun flymake-overlay-p (ov)
    "Determine whether overlay OV was created by flymake."


_______________________________________________
Emacs-diffs mailing list
Emacs-diffs@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-diffs

Reply via email to