summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mail/mail-extr.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mail/mail-extr.el b/lisp/mail/mail-extr.el
index 2d59aef47d8..27cc23f1df7 100644
--- a/lisp/mail/mail-extr.el
+++ b/lisp/mail/mail-extr.el
@@ -1274,7 +1274,8 @@ If ADDRESS contains more than one RFC-822 address, only the first is
(backward-char 1)
(mail-extr-delete-char 1)
(goto-char quote-beg)
- (mail-extr-delete-char 1))
+ (or (eobp)
+ (mail-extr-delete-char 1)))
(mail-extr-undo-backslash-quoting quote-beg quote-end)
(or (eq ?\ (char-after (point)))
(insert " "))