Function: epg--status-GET_LINE

epg--status-GET_LINE is a byte-compiled function defined in epg.el.gz.

Signature

(epg--status-GET_LINE CONTEXT STRING)

Source Code

;; Defined in /usr/src/emacs/lisp/epg.el.gz
(defun epg--status-GET_LINE (context string)
  (let ((entry (assoc string epg-prompt-alist))
	inhibit-quit)
    (condition-case nil
	(process-send-string (epg-context-process context)
			     (concat (read-string
				      (if entry
					  (cdr entry)
					(concat string ": ")))
				     "\n"))
      (quit
       (epg-context-set-result-for
	context 'error
	(cons '(quit)
	      (epg-context-result-for context 'error)))
       (delete-process (epg-context-process context))))))