emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/flymake.el


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/flymake.el
Date: Fri, 26 Aug 2005 09:48:33 -0400

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."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]