From 25d5e1beac31a60d505564456447fcf3150036e5 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Mon, 29 Jan 2001 01:34:21 +0000 Subject: [PATCH] (gnus-article-mime-edit-exit): Use `buffer-substring-no-properties' instead of `format'. --- ChangeLog | 5 +++++ lisp/gnus-art.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8016e40..6c77044 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-01-29 Katsumi Yamaoka + + * lisp/gnus-art.el (gnus-article-mime-edit-exit): Use + `buffer-substring-no-properties' instead of `format'. + 2001-01-23 TAKAHASHI Kaoru * texi/ptexinfmt.el: Support @letterpaper and @afivepaper. diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el index 378e831..145d268 100644 --- a/lisp/gnus-art.el +++ b/lisp/gnus-art.el @@ -5064,7 +5064,7 @@ after replacing with the original article." (setq font-lock-defaults nil) (font-lock-mode 0)) ;; We remove all text props from the article buffer. - (setq buf (format "%s" (buffer-string))) + (setq buf (buffer-substring-no-properties (point-min) (point-max))) (set-buffer (get-buffer-create gnus-original-article-buffer)) (erase-buffer) (insert buf) -- 1.7.10.4