changeset 2700:9de57e00caf7

(rmail-convert-to-babyl-format): Delete 1 char if we see a newline instead of what we expect.
author Richard M. Stallman <rms@gnu.org>
date Sun, 09 May 1993 01:14:47 +0000
parents 83fee0378e0e
children 277a358b5204
files lisp/mail/rmail.el
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Sun May 09 00:57:56 1993 +0000
+++ b/lisp/mail/rmail.el	Sun May 09 01:14:47 1993 +0000
@@ -797,9 +797,11 @@
 	       (insert ?\^_)
 	       (narrow-to-region (point) (point-max)))
 	      ;;
-	      ;;This is a kludge, in case we're wrong about mmdf not
-	      ;;allowing anything in between.  If it loses, we'll have
-	      ;;to look for something else
+	      ;; This kludge is because some versions of sendmail.el
+	      ;; insert an extra newline at the beginning that shouldn't
+	      ;; be there.  sendmail.el has been fixed, but old versions
+	      ;; may still be in use.  -- rms, 7 May 1993.
+	      ((eolp) (delete-char 1))
 	      (t (error "Cannot convert to babyl format")))))
     count))