Call `gnus-summary-highlight-line' directly from all places that used to call it...
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Fri, 10 Sep 2010 16:29:09 +0000 (18:29 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Fri, 10 Sep 2010 16:29:09 +0000 (18:29 +0200)
lisp/gnus-sum.el

index 1d86194..df20456 100644 (file)
@@ -3752,6 +3752,7 @@ buffer that was in action when the last article was fetched."
       (error (gnus-message 5 "Error updating the summary line")))
     (when (gnus-visual-p 'summary-highlight 'highlight)
       (forward-line -1)
+      (gnus-summary-highlight-line)
       (gnus-run-hooks 'gnus-summary-update-hook)
       (forward-line 1))))
 
@@ -3784,6 +3785,7 @@ buffer that was in action when the last article was fetched."
         'score))
       ;; Do visual highlighting.
       (when (gnus-visual-p 'summary-highlight 'highlight)
+       (gnus-summary-highlight-line)
        (gnus-run-hooks 'gnus-summary-update-hook)))))
 
 (defvar gnus-tmp-new-adopts nil)
@@ -10735,6 +10737,7 @@ If NO-EXPIRE, auto-expiry will be inhibited."
         (t gnus-no-mark))
    'replied)
   (when (gnus-visual-p 'summary-highlight 'highlight)
+    (gnus-summary-highlight-line)
     (gnus-run-hooks 'gnus-summary-update-hook))
   t)