Function: mh-push-button
mh-push-button is an interactive and byte-compiled function defined in
mh-mime.el.gz.
Signature
(mh-push-button EVENT)
Documentation
Click MIME button for EVENT.
If the MIME part is visible then it is removed. Otherwise the part is displayed. This function is called when the mouse is used to click the MIME button.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-mime.el.gz
(defun mh-push-button (event)
"Click MIME button for EVENT.
If the MIME part is visible then it is removed. Otherwise the
part is displayed. This function is called when the mouse is used
to click the MIME button."
(interactive "e")
(mh-do-at-event-location event
(let ((folder mh-show-folder-buffer)
(mm-inline-media-tests mh-mm-inline-media-tests)
(data (get-text-property (point) 'mh-data))
(function (get-text-property (point) 'mh-callback)))
(mh-flet
((mm-handle-set-external-undisplayer
(handle func)
(mh-handle-set-external-undisplayer folder handle func)))
(and function (funcall function data))))))