summaryrefslogtreecommitdiff
path: root/lisp/gnus/mm-view.el
diff options
context:
space:
mode:
authorKatsumi Yamaoka <yamaoka@jpl.org>2014-06-05 01:38:42 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2014-06-05 01:38:42 +0000
commit343d16e40c1c4487408c241bfa0341242318b00b (patch)
tree985f0d03a1911ab9f0ec12f299d21909e2a75942 /lisp/gnus/mm-view.el
parent444060a55d4d6fb55a9c0fd4d22c09ef757b38d7 (diff)
downloademacs-343d16e40c1c4487408c241bfa0341242318b00b.tar.gz
Gnus: bugfixes to make `gnus-mime-save-part-and-strip' work again
* gnus-art.el (gnus-mm-display-part): * mm-decode.el (mm-shr): * mm-view.el (mm-inline-text-html-render-with-w3m, mm-inline-text) (mm-insert-inline): Set insertion type of end-marker, not only start-marker, of undisplayer so as to stay after inserted text.
Diffstat (limited to 'lisp/gnus/mm-view.el')
-rw-r--r--lisp/gnus/mm-view.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el
index c565d0ed604..84030fc2065 100644
--- a/lisp/gnus/mm-view.el
+++ b/lisp/gnus/mm-view.el
@@ -218,7 +218,7 @@
`(lambda ()
(let ((inhibit-read-only t))
(delete-region ,(copy-marker (point-min) t)
- ,(point-max-marker)))))))))
+ ,(copy-marker (point-max) t)))))))))
(defvar mm-w3m-standalone-supports-m17n-p (if (featurep 'mule) 'undecided)
"*T means the w3m command supports the m17n feature.")
@@ -392,7 +392,7 @@
`(lambda ()
(let ((inhibit-read-only t))
(delete-region ,(copy-marker (point-min) t)
- ,(point-max-marker))))))))
+ ,(copy-marker (point-max) t))))))))
(defun mm-insert-inline (handle text)
"Insert TEXT inline from HANDLE."
@@ -405,7 +405,7 @@
`(lambda ()
(let ((inhibit-read-only t))
(delete-region ,(copy-marker b t)
- ,(copy-marker (point))))))))
+ ,(copy-marker (point) t)))))))
(defun mm-inline-audio (handle)
(message "Not implemented"))