From 903e09b79c08641ff7c51c5b76e2c218f8eea20a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 27 May 1998 21:05:02 +0000 Subject: [PATCH] (rmail-msg-is-pruned): Delete junk from definition. --- lisp/mail/rmail.el | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 5b9c0f62651..dde5e975989 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -1769,13 +1769,10 @@ Otherwise, delete all header fields whose names match `rmail-ignored-headers'." (defun rmail-msg-is-pruned () (rmail-maybe-set-message-counters) (save-restriction + (narrow-to-region (rmail-msgbeg rmail-current-message) (point-max)) (save-excursion - (narrow-to-region (rmail-msgbeg rmail-current-message) (point-max)) - (if (not (or (= ?\n (char-after (point))) - (= ?\n (char-before (1- (point)))))) - (insert "\n")) - (goto-char (point-min)) - (forward-line 1) + (goto-char (point-min)) + (forward-line 1) (= (following-char) ?1)))) (defun rmail-toggle-header (&optional arg) -- 2.39.2