Function: pgg-sign-region
pgg-sign-region is an autoloaded, interactive and byte-compiled
function defined in pgg.el.gz.
Signature
(pgg-sign-region START END &optional CLEARTEXT PASSPHRASE)
Documentation
Make the signature from text between START and END.
If the optional 3rd argument CLEARTEXT is non-nil, it does not create a detached signature.
If this function is called interactively, CLEARTEXT is enabled and the output is displayed.
If optional PASSPHRASE is not specified, it will be obtained from the passphrase cache or user.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/pgg.el.gz
;;;###autoload
(defun pgg-sign-region (start end &optional cleartext passphrase)
"Make the signature from text between START and END.
If the optional 3rd argument CLEARTEXT is non-nil, it does not create
a detached signature.
If this function is called interactively, CLEARTEXT is enabled
and the output is displayed.
If optional PASSPHRASE is not specified, it will be obtained from the
passphrase cache or user."
(interactive "r")
(let ((status (pgg-save-coding-system start end
(pgg-invoke "sign-region" (or pgg-scheme pgg-default-scheme)
(point-min) (point-max)
(or (called-interactively-p 'interactive)
cleartext)
passphrase))))
(when (called-interactively-p 'interactive)
(pgg-display-output-buffer start end status))
status))