Function: mh-identity-handler-gpg-identity
mh-identity-handler-gpg-identity is an autoloaded and byte-compiled
function defined in mh-identity.el.gz.
Signature
(mh-identity-handler-gpg-identity FIELD ACTION &optional VALUE)
Documentation
Process header FIELD ":pgg-default-user-id".
The ACTION is one of remove or add. If add, the VALUE is added.
The buffer-local variable mh-identity-pgg-default-user-id is set to
VALUE when action add is selected.
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-identity.el.gz
;;;###mh-autoload
(defun mh-identity-handler-gpg-identity (_field action &optional value)
"Process header FIELD \":pgg-default-user-id\".
The ACTION is one of `remove' or `add'. If `add', the VALUE is added.
The buffer-local variable `mh-identity-pgg-default-user-id' is set to
VALUE when action `add' is selected."
(cond
((or (equal action 'remove)
(not value)
(string= value ""))
(setq mh-identity-pgg-default-user-id nil))
((equal action 'add)
(setq mh-identity-pgg-default-user-id value))))