Function: mh-press-button
mh-press-button is an interactive and byte-compiled function defined
in mh-mime.el.gz.
Signature
(mh-press-button)
Documentation
View contents of button.
This command is a toggle so if you use it again on the same attachment, the attachment is hidden.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-mime.el.gz
(defun mh-press-button ()
"View contents of button.
This command is a toggle so if you use it again on the same
attachment, the attachment is hidden."
(interactive)
(let ((mm-inline-media-tests mh-mm-inline-media-tests)
(data (get-text-property (point) 'mh-data))
(function (get-text-property (point) 'mh-callback))
(buffer-read-only nil)
(folder mh-show-folder-buffer))
(mh-flet
((mm-handle-set-external-undisplayer
(handle function)
(mh-handle-set-external-undisplayer folder handle function)))
(when (and function (eolp))
(backward-char))
(unwind-protect (and function (funcall function data))
(set-buffer-modified-p nil)))))