Function: pgg-decrypt

pgg-decrypt is an interactive and byte-compiled function defined in pgg.el.gz.

Signature

(pgg-decrypt &optional START END PASSPHRASE)

Documentation

Decrypt the current buffer.

If optional arguments START and END are specified, only decrypt within the region.

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-decrypt (&optional start end passphrase)
  "Decrypt the current buffer.

If optional arguments START and END are specified, only decrypt within
the region.

If optional PASSPHRASE is not specified, it will be obtained from the
passphrase cache or user."
  (interactive "")
  (let* ((start (or start (point-min)))
	 (end (or end (point-max)))
	 (status (pgg-decrypt-region start end passphrase)))
    (when (called-interactively-p 'interactive)
      (pgg-display-output-buffer start end status))
    status))