diff options
| author | Glenn Morris | 2009-02-13 07:43:50 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-02-13 07:43:50 +0000 |
| commit | 574bc51d393dc2d9047dca9db641ab3a430e08f0 (patch) | |
| tree | 7c922ccbf5a7325badb220b91d2a7ebf980d6787 | |
| parent | 95ca567f4d41692d224062167f5b5bf8c9d0f863 (diff) | |
| download | emacs-574bc51d393dc2d9047dca9db641ab3a430e08f0.tar.gz emacs-574bc51d393dc2d9047dca9db641ab3a430e08f0.zip | |
(rmail-show-message-1): New name for the old rmail-show-message.
Update callers.
| -rw-r--r-- | lisp/mail/rmail.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 78e6ce9db98..bffe9b8dd3e 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -1472,7 +1472,7 @@ The duplicate copy goes into the Rmail file just after the original." | |||
| 1472 | (goto-char (point-max)) | 1472 | (goto-char (point-max)) |
| 1473 | (rmail-set-message-counters) | 1473 | (rmail-set-message-counters) |
| 1474 | (set-buffer-modified-p t) | 1474 | (set-buffer-modified-p t) |
| 1475 | (rmail-show-message n)) | 1475 | (rmail-show-message-1 n)) |
| 1476 | (if (rmail-summary-exists) | 1476 | (if (rmail-summary-exists) |
| 1477 | (rmail-select-summary (rmail-update-summary))) | 1477 | (rmail-select-summary (rmail-update-summary))) |
| 1478 | (message "Message duplicated")) | 1478 | (message "Message duplicated")) |
| @@ -2479,7 +2479,7 @@ N defaults to the current message." | |||
| 2479 | (rmail-swap-buffers-maybe) | 2479 | (rmail-swap-buffers-maybe) |
| 2480 | (rmail-maybe-set-message-counters) | 2480 | (rmail-maybe-set-message-counters) |
| 2481 | (widen) | 2481 | (widen) |
| 2482 | (let ((blurb (rmail-show-message n))) | 2482 | (let ((blurb (rmail-show-message-1 n))) |
| 2483 | (or (zerop rmail-total-messages) | 2483 | (or (zerop rmail-total-messages) |
| 2484 | (progn | 2484 | (progn |
| 2485 | (when mail-mailing-lists | 2485 | (when mail-mailing-lists |
| @@ -2515,7 +2515,7 @@ N defaults to the current message." | |||
| 2515 | :type 'integer | 2515 | :type 'integer |
| 2516 | :group 'rmail) | 2516 | :group 'rmail) |
| 2517 | 2517 | ||
| 2518 | (defun rmail-show-message (&optional msg) | 2518 | (defun rmail-show-message-1 (&optional msg) |
| 2519 | "Show message MSG (default: current message) using `rmail-view-buffer'. | 2519 | "Show message MSG (default: current message) using `rmail-view-buffer'. |
| 2520 | Return text to display in the minibuffer if MSG is out of | 2520 | Return text to display in the minibuffer if MSG is out of |
| 2521 | range (displaying a reasonable choice as well), nil otherwise. | 2521 | range (displaying a reasonable choice as well), nil otherwise. |
| @@ -2644,7 +2644,7 @@ buffer to the end of the headers." | |||
| 2644 | ;; Handle the case where all headers should be copied. | 2644 | ;; Handle the case where all headers should be copied. |
| 2645 | ((eq rmail-header-style 'full) | 2645 | ((eq rmail-header-style 'full) |
| 2646 | (prepend-to-buffer rmail-view-buffer beg (point-max)) | 2646 | (prepend-to-buffer rmail-view-buffer beg (point-max)) |
| 2647 | ;; rmail-show-message expects this function to leave point | 2647 | ;; rmail-show-message-1 expects this function to leave point |
| 2648 | ;; at the end of the headers. | 2648 | ;; at the end of the headers. |
| 2649 | (with-current-buffer rmail-view-buffer | 2649 | (with-current-buffer rmail-view-buffer |
| 2650 | (search-forward "\n\n" nil t))) | 2650 | (search-forward "\n\n" nil t))) |
| @@ -3246,7 +3246,7 @@ See also user-option `rmail-confirm-expunge'." | |||
| 3246 | (rmail-only-expunge dont-show) | 3246 | (rmail-only-expunge dont-show) |
| 3247 | (if (rmail-summary-exists) | 3247 | (if (rmail-summary-exists) |
| 3248 | (rmail-select-summary (rmail-update-summary)) | 3248 | (rmail-select-summary (rmail-update-summary)) |
| 3249 | (rmail-show-message rmail-current-message) | 3249 | (rmail-show-message-1 rmail-current-message) |
| 3250 | (if (and (eq old-total rmail-total-messages) opoint) | 3250 | (if (and (eq old-total rmail-total-messages) opoint) |
| 3251 | (goto-char opoint)))))) | 3251 | (goto-char opoint)))))) |
| 3252 | 3252 | ||