]> code.delx.au - gnu-emacs/commitdiff
Fix a typo in rmail.el
authorEli Zaretskii <eliz@gnu.org>
Sun, 26 Apr 2015 19:18:13 +0000 (22:18 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 26 Apr 2015 19:18:13 +0000 (22:18 +0300)
* lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
last commit.  (Bug#20429)

lisp/mail/rmail.el

index 74533f88fdf8a20273fe33ca01756e811667b85c..7efcf695b24fd013979a5fe4f55f82d9d9398242 100644 (file)
@@ -2127,7 +2127,7 @@ Value is the size of the newly read mail after conversion."
 Call with point at the end of the message."
   (unless (bolp)
     (insert "\n"))
-  (unless (looking-back "\n\n" (- (point 2)))
+  (unless (looking-back "\n\n" (- (point) 2))
     (insert "\n")))
 
 (defun rmail-add-mbox-headers ()