changeset 12613:1243b1f01079

(mail-fetch-field): Use buffer-substring-no-properties.
author Richard M. Stallman <rms@gnu.org>
date Thu, 20 Jul 1995 17:54:10 +0000
parents 9d8cf42ed0ba
children 1415c961bea6
files lisp/mail/mail-utils.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/mail-utils.el	Thu Jul 20 17:43:52 1995 +0000
+++ b/lisp/mail/mail-utils.el	Thu Jul 20 17:54:10 1995 +0000
@@ -174,7 +174,8 @@
 		  (forward-char -1))
 		(setq value (concat value
 				    (if (string= value "") "" ", ")
-				    (buffer-substring opoint (point))))))
+				    (buffer-substring-no-properties
+				     opoint (point))))))
 	    (and (not (string= value "")) value))
 	(if (re-search-forward name nil t)
 	    (progn
@@ -186,7 +187,7 @@
 		(forward-char -1)
 		(while (member (preceding-char) '(?  ?\t))
 		  (forward-char -1))
-		(buffer-substring opoint (point)))))))))
+		(buffer-substring-no-properties opoint (point)))))))))
 
 ;; Parse a list of tokens separated by commas.
 ;; It runs from point to the end of the visible part of the buffer.