diff options
| author | Glenn Morris | 2009-03-05 03:45:51 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-03-05 03:45:51 +0000 |
| commit | da5f63303aeea44c931a31c96b7cf0cad7fdde66 (patch) | |
| tree | 5d29f612890b332772c23735ed5f4e584404ef02 | |
| parent | 137ea8af631cc8ce8ccf9be6d868791dac10ca43 (diff) | |
| download | emacs-da5f63303aeea44c931a31c96b7cf0cad7fdde66.tar.gz emacs-da5f63303aeea44c931a31c96b7cf0cad7fdde66.zip | |
(rmail-cease-edit): Use rmail-ensure-blank-line.
| -rw-r--r-- | lisp/ChangeLog | 21 | ||||
| -rw-r--r-- | lisp/mail/rmailedit.el | 9 |
2 files changed, 24 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9bd73463197..5f9a617aa44 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,24 @@ | |||
| 1 | 2009-03-05 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * mail/rmail.el (rmail-perm-variables): rmail-overlay-list needs to be | ||
| 4 | buffer-local in the view buffer, not the rmail buffer. | ||
| 5 | |||
| 6 | * mail/rmailout.el (rmail-output-to-rmail-buffer): Add the new message | ||
| 7 | at the end of the existing messages, ensuring there is a blank line | ||
| 8 | between them. (Bug#2521) | ||
| 9 | |||
| 10 | * mail/rmail.el (rmail-ensure-blank-line): New function. | ||
| 11 | * mail/rmailedit.el (rmail-cease-edit): | ||
| 12 | * mail/rmailout.el (rmail-output-as-mbox): | ||
| 13 | * mail/rmailsort.el (rmail-sort-messages): Use rmail-ensure-blank-line. | ||
| 14 | |||
| 15 | * mail/rmailmm.el (rmail-mime-media-type-handlers-alist) | ||
| 16 | (rmail-mime-attachment-dirs-alist): Doc fixes. Fix custom-type. | ||
| 17 | Add version. | ||
| 18 | (rmail-mime-total-number-of-bulk-attachments): Doc fix. | ||
| 19 | (rmail-mime): Doc fix. Use rmail-apply-in-message. | ||
| 20 | Disable undo in the mime buffer, mark unmodified. | ||
| 21 | |||
| 1 | 2009-03-04 David Reitter <david.reitter@gmail.com> | 22 | 2009-03-04 David Reitter <david.reitter@gmail.com> |
| 2 | 23 | ||
| 3 | * menu-bar.el (clipboard-yank): avoid | 24 | * menu-bar.el (clipboard-yank): avoid |
diff --git a/lisp/mail/rmailedit.el b/lisp/mail/rmailedit.el index 7d757793eff..5b01e943541 100644 --- a/lisp/mail/rmailedit.el +++ b/lisp/mail/rmailedit.el | |||
| @@ -125,14 +125,11 @@ This function runs the hooks `text-mode-hook' and `rmail-edit-mode-hook'. | |||
| 125 | (beginning-of-line) | 125 | (beginning-of-line) |
| 126 | (insert ">") | 126 | (insert ">") |
| 127 | (forward-line))) | 127 | (forward-line))) |
| 128 | ;; Make sure buffer ends with a blank line | 128 | ;; Make sure buffer ends with a blank line so as not to run this |
| 129 | ;; so as not to run this message together with the following one. | 129 | ;; message together with the following one. |
| 130 | (save-excursion | 130 | (save-excursion |
| 131 | (goto-char (point-max)) | 131 | (goto-char (point-max)) |
| 132 | (if (/= (preceding-char) ?\n) | 132 | (rmail-ensure-blank-line)) |
| 133 | (insert "\n")) | ||
| 134 | (unless (looking-back "\n\n") | ||
| 135 | (insert "\n"))) | ||
| 136 | (let ((old rmail-old-text) | 133 | (let ((old rmail-old-text) |
| 137 | (pruned rmail-old-pruned) | 134 | (pruned rmail-old-pruned) |
| 138 | ;; People who know what they are doing might have modified the | 135 | ;; People who know what they are doing might have modified the |