diff options
| author | Chong Yidong | 2009-11-07 18:09:05 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-11-07 18:09:05 +0000 |
| commit | b42b2189a37b5f5186d1731acf129ba9a3c15ff7 (patch) | |
| tree | efa81e663d888b90a8b5abd04ce0f7a162b014c5 | |
| parent | d19e23ae10b0740bce35efe761c4267e95030a24 (diff) | |
| download | emacs-b42b2189a37b5f5186d1731acf129ba9a3c15ff7.tar.gz emacs-b42b2189a37b5f5186d1731acf129ba9a3c15ff7.zip | |
* mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
by hand, if necessary (Bug#4878).
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/mail/rmailsum.el | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 04fff3dfcc1..0d7829302fd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-11-07 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update | ||
| 4 | by hand, if necessary (Bug#4878). | ||
| 5 | |||
| 1 | 2009-11-06 Chong Yidong <cyd@stupidchicken.com> | 6 | 2009-11-06 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * buff-menu.el (Buffer-menu-buffer+size): Use display property to | 8 | * 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.") | |||
| 965 | (select-window owin)) | 965 | (select-window owin)) |
| 966 | (if (buffer-name rmail-buffer) | 966 | (if (buffer-name rmail-buffer) |
| 967 | (with-current-buffer rmail-buffer | 967 | (with-current-buffer rmail-buffer |
| 968 | (rmail-show-message msg-num t)))))) | 968 | (rmail-show-message msg-num t)))) |
| 969 | ;; In linum mode, the message buffer must be specially | ||
| 970 | ;; updated (Bug#4878). | ||
| 971 | (and (fboundp 'linum-update) | ||
| 972 | (buffer-name rmail-buffer) | ||
| 973 | (linum-update rmail-buffer)))) | ||
| 969 | (rmail-summary-update-highlight nil))))) | 974 | (rmail-summary-update-highlight nil))))) |
| 970 | 975 | ||
| 971 | (defun rmail-summary-save-buffer () | 976 | (defun rmail-summary-save-buffer () |