Function: pgg-decrypt-region

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

Signature

(pgg-decrypt-region START END &optional PASSPHRASE)

Documentation

Decrypt the current region between START and END.

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-region (start end &optional passphrase)
  "Decrypt the current region between START and END.

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