aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorKatsumi Yamaoka2010-10-27 03:59:59 +0000
committerKatsumi Yamaoka2010-10-27 03:59:59 +0000
commit3444dc6164e49874d253fb921df31f45f4554090 (patch)
treeade50bca7748a80d8f6a05d9c16acbe7762aef4b /lisp
parente925113b0c29b8bf2b2a67b5c88ce812fcfa1ede (diff)
downloademacs-3444dc6164e49874d253fb921df31f45f4554090.tar.gz
emacs-3444dc6164e49874d253fb921df31f45f4554090.zip
mm-decode.el (mm-shr): Add undisplayer to MIME handle.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/gnus/ChangeLog2
-rw-r--r--lisp/gnus/mm-decode.el8
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 9a87c359c67..3e569c7265d 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,5 +1,7 @@
12010-10-27 Katsumi Yamaoka <yamaoka@jpl.org> 12010-10-27 Katsumi Yamaoka <yamaoka@jpl.org>
2 2
3 * mm-decode.el (mm-shr): Add undisplayer to MIME handle.
4
3 * gnus-group.el (gnus-group-completing-read) 5 * gnus-group.el (gnus-group-completing-read)
4 (gnus-read-ephemeral-bug-group): Replace replace-regexp-in-string with 6 (gnus-read-ephemeral-bug-group): Replace replace-regexp-in-string with
5 gnus-replace-in-string. 7 gnus-replace-in-string.
diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el
index d18bb860f53..d1fd493a37d 100644
--- a/lisp/gnus/mm-decode.el
+++ b/lisp/gnus/mm-decode.el
@@ -1712,7 +1712,13 @@ If RECURSIVE, search recursively."
1712 (mm-decode-coding-string (buffer-string) charset) 1712 (mm-decode-coding-string (buffer-string) charset)
1713 (erase-buffer) 1713 (erase-buffer)
1714 (mm-enable-multibyte)))) 1714 (mm-enable-multibyte))))
1715 (libxml-parse-html-region (point-min) (point-max))))))) 1715 (libxml-parse-html-region (point-min) (point-max))))
1716 (mm-handle-set-undisplayer
1717 handle
1718 `(lambda ()
1719 (let ((inhibit-read-only t))
1720 (delete-region ,(point-min-marker)
1721 ,(point-max-marker))))))))
1716 1722
1717(provide 'mm-decode) 1723(provide 'mm-decode)
1718 1724