diff options
| -rw-r--r-- | lisp/mail/rmailout.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mail/rmailout.el b/lisp/mail/rmailout.el index 533283d8884..a82a9649afb 100644 --- a/lisp/mail/rmailout.el +++ b/lisp/mail/rmailout.el | |||
| @@ -87,7 +87,7 @@ starting with the current one. Deleted messages are skipped and don't count." | |||
| 87 | (rmail-output file-name count) | 87 | (rmail-output file-name count) |
| 88 | (rmail-maybe-set-message-counters) | 88 | (rmail-maybe-set-message-counters) |
| 89 | (setq file-name (abbreviate-file-name file-name)) | 89 | (setq file-name (abbreviate-file-name file-name)) |
| 90 | (or (get-file-buffer file-name) | 90 | (or (find-buffer-visiting file-name) |
| 91 | (file-exists-p file-name) | 91 | (file-exists-p file-name) |
| 92 | (if (yes-or-no-p | 92 | (if (yes-or-no-p |
| 93 | (concat "\"" file-name "\" does not exist, create it? ")) | 93 | (concat "\"" file-name "\" does not exist, create it? ")) |
| @@ -113,7 +113,7 @@ starting with the current one. Deleted messages are skipped and don't count." | |||
| 113 | (widen) | 113 | (widen) |
| 114 | ;; Decide whether to append to a file or to an Emacs buffer. | 114 | ;; Decide whether to append to a file or to an Emacs buffer. |
| 115 | (save-excursion | 115 | (save-excursion |
| 116 | (let ((buf (get-file-buffer file-name)) | 116 | (let ((buf (find-buffer-visiting file-name)) |
| 117 | (cur (current-buffer)) | 117 | (cur (current-buffer)) |
| 118 | (beg (1+ (rmail-msgbeg rmail-current-message))) | 118 | (beg (1+ (rmail-msgbeg rmail-current-message))) |
| 119 | (end (1+ (rmail-msgend rmail-current-message)))) | 119 | (end (1+ (rmail-msgend rmail-current-message)))) |