Commit 7782a0c6 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(comint-password-prompt-regexp): Handle PGP prompt.

parent 0af64910
......@@ -219,9 +219,10 @@ appears in the buffer.
This variable is buffer-local.")
(defvar comint-password-prompt-regexp "\\b[Pp]assword:\\s *\\'"
(defvar comint-password-prompt-regexp
"\\(^[Pp]assword\\|pass phrase\\):\\s *\\'"
"*Regexp matching prompts for passwords in the inferior process.
This is used by comint-watch-for-password-prompt.")
This is used by `comint-watch-for-password-prompt'.")
;;; Here are the per-interpreter hooks.
(defvar comint-get-old-input (function comint-get-old-input-default)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment