From: Chong Yidong Date: Sat, 7 Nov 2009 18:09:05 +0000 (+0000) Subject: * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update X-Git-Tag: emacs-pretest-23.1.90~542 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b42b2189a37b5f5186d1731acf129ba9a3c15ff7;p=emacs.git * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update by hand, if necessary (Bug#4878). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 04fff3dfcc1..0d7829302fd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2009-11-07 Chong Yidong + + * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update + by hand, if necessary (Bug#4878). + 2009-11-06 Chong Yidong * buff-menu.el (Buffer-menu-buffer+size): Use display property to diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index 09e6329a230..8aeee4fa7ad 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el @@ -965,7 +965,12 @@ Search, the `unseen' attribute is restored.") (select-window owin)) (if (buffer-name rmail-buffer) (with-current-buffer rmail-buffer - (rmail-show-message msg-num t)))))) + (rmail-show-message msg-num t)))) + ;; In linum mode, the message buffer must be specially + ;; updated (Bug#4878). + (and (fboundp 'linum-update) + (buffer-name rmail-buffer) + (linum-update rmail-buffer)))) (rmail-summary-update-highlight nil))))) (defun rmail-summary-save-buffer ()