]> git.eshelyaron.com Git - emacs.git/commitdiff
* mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
authorChong Yidong <cyd@stupidchicken.com>
Sat, 7 Nov 2009 18:09:05 +0000 (18:09 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 7 Nov 2009 18:09:05 +0000 (18:09 +0000)
by hand, if necessary (Bug#4878).

lisp/ChangeLog
lisp/mail/rmailsum.el

index 04fff3dfcc1a5419a14abf8bee55834441c86ee2..0d7829302fdfb7bd7aa3c5f2f7e9d63c77388c1c 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
+
+       * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
+       by hand, if necessary (Bug#4878).
+
 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
 
        * buff-menu.el (Buffer-menu-buffer+size): Use display property to
index 09e6329a23080b0c4640c2650bff886236a4d000..8aeee4fa7ad9152ec05271928b053273c1e8a4b3 100644 (file)
@@ -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 ()