Commit 3444dc61 authored by Katsumi Yamaoka's avatar Katsumi Yamaoka
Browse files

mm-decode.el (mm-shr): Add undisplayer to MIME handle.

parent e925113b
2010-10-27 Katsumi Yamaoka <yamaoka@jpl.org>
 
* mm-decode.el (mm-shr): Add undisplayer to MIME handle.
* gnus-group.el (gnus-group-completing-read)
(gnus-read-ephemeral-bug-group): Replace replace-regexp-in-string with
gnus-replace-in-string.
......
......@@ -1712,7 +1712,13 @@ If RECURSIVE, search recursively."
(mm-decode-coding-string (buffer-string) charset)
(erase-buffer)
(mm-enable-multibyte))))
(libxml-parse-html-region (point-min) (point-max)))))))
(libxml-parse-html-region (point-min) (point-max))))
(mm-handle-set-undisplayer
handle
`(lambda ()
(let ((inhibit-read-only t))
(delete-region ,(point-min-marker)
,(point-max-marker))))))))
(provide 'mm-decode)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment