mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(smtpmail-send-data-1): Escape "." at the start of
any line of data, not just lines containing nothing else.
This commit is contained in:
parent
133319abf8
commit
5781056053
1 changed files with 3 additions and 3 deletions
|
|
@ -404,10 +404,10 @@ don't define this value.")
|
|||
(insert data "\r\n"))
|
||||
|
||||
(setq smtpmail-read-point (point))
|
||||
(process-send-string process data)
|
||||
;; . -> ..
|
||||
(if (string-equal data ".")
|
||||
;; Escape "." at start of a line
|
||||
(if (eq (string-to-char data) ?.)
|
||||
(process-send-string process "."))
|
||||
(process-send-string process data)
|
||||
(process-send-string process "\r\n")
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue