Function: epa-file-decode-and-insert

epa-file-decode-and-insert is a byte-compiled function defined in epa-file.el.gz.

Signature

(epa-file-decode-and-insert STRING FILE VISIT BEG END REPLACE)

Source Code

;; Defined in /usr/src/emacs/lisp/epa-file.el.gz
(defun epa-file-decode-and-insert (string file visit beg end replace)
  (save-restriction
    (narrow-to-region (point) (point))
    (insert string)
    (decode-coding-inserted-region
     (point-min) (point-max)
     (substring file 0 (string-match epa-file-name-regexp file))
     visit beg end replace)
    (goto-char (point-max))
    (- (point-max) (point-min))))