Function: mh-mime-security-button-face
mh-mime-security-button-face is a byte-compiled function defined in
mh-mime.el.gz.
Signature
(mh-mime-security-button-face INFO)
Documentation
Return the button face to use for encrypted/signed mail based on INFO.
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-mime.el.gz
(defun mh-mime-security-button-face (info)
"Return the button face to use for encrypted/signed mail based on INFO."
(cond ((string-match "OK" info) ;Decrypted mail
'mh-show-pgg-good)
((string-match "Failed" info) ;Decryption failed or signature invalid
'mh-show-pgg-bad)
((string-match "Undecided" info);Unprocessed mail
'mh-show-pgg-unknown)
((string-match "Untrusted" info);Key not trusted
'mh-show-pgg-unknown)
(t
'mh-show-pgg-good)))