Function: mh-mime-security-show-details
mh-mime-security-show-details is a byte-compiled function defined in
mh-mime.el.gz.
Signature
(mh-mime-security-show-details HANDLE)
Documentation
Toggle display of detailed security info for HANDLE.
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-mime.el.gz
;; I rewrote the security part because Gnus doesn't seem to ever minimize
;; the button. That is once the mime-security button is pressed there seems
;; to be no way of getting rid of the inserted text.
(defun mh-mime-security-show-details (handle)
"Toggle display of detailed security info for HANDLE."
(let ((details (mm-handle-multipart-ctl-parameter handle 'gnus-details)))
(when details
(let ((mh-mime-security-button-pressed
(not (get-text-property (point) 'mh-button-pressed)))
(mh-mime-security-button-line-format
(get-text-property (point) 'mh-line-format)))
(forward-char -1)
(while (eq (get-text-property (point) 'mh-line-format)
mh-mime-security-button-line-format)
(forward-char -1))
(forward-char)
(save-restriction
(narrow-to-region (point) (point))
(mh-insert-mime-security-button handle))
(delete-region
(point)
(or (text-property-not-all
(point) (point-max)
'mh-line-format mh-mime-security-button-line-format)
(point-max)))
(forward-line -1)))))