rms@mit-prep (10/09/85)
From: Richard M. Stallman <rms@mit-prep> In rmail-insert-inbox-text, change the lines (progn (skip-chars-backward " \t\n") ; chomper might have munged (delete-region (dot) (dot-max)) ; require-final-newline (insert-file-contents tofile) ; in a hook or elsewhere. (setq delete-files (cons tofile delete-files)))) to (progn (goto-char (dot-max)) (insert-file-contents tofile) (goto-char (dot-max)) (or (= (preceding-char) ?\n) (insert ?\n)) (setq delete-files (cons tofile delete-files)))) This avoids the loss of mail when there are multiple inboxes!