[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: insert-string and Emacs Lisp
From: |
Simon Josefsson |
Subject: |
Re: insert-string and Emacs Lisp |
Date: |
Sun, 25 Nov 2001 14:44:15 +0100 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu) |
address@hidden (Pavel Janík) writes:
> mail/smtpmail.el
If this mail reaches anyone, the patch below should be fine. If this
patch doesn't reach anyone, don't commit it. :-)
2001-11-25 Simon Josefsson <address@hidden>
* mail/smtpmail.el (smtpmail-deduce-address-list): Don't use
insert-string. Suggested by address@hidden (Pavel Janík).
--- smtpmail.el.~1.33.~ Fri Nov 23 18:32:21 2001
+++ smtpmail.el Sun Nov 25 14:37:50 2001
@@ -873,9 +873,9 @@
(mail-strip-quoted-names (buffer-substring this-line
this-line-end))))
)
(erase-buffer)
- (insert-string " ")
- (insert-string simple-address-list)
- (insert-string "\n")
+ (insert " ")
+ (insert simple-address-list)
+ (insert "\n")
(subst-char-in-region (point-min) (point-max) 10 ? t);; newline -->
blank
(subst-char-in-region (point-min) (point-max) ?, ? t);; comma -->
blank
(subst-char-in-region (point-min) (point-max) 9 ? t);; tab -->
blank