aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1994-07-31 20:47:15 +0000
committerRichard M. Stallman <[email protected]>1994-07-31 20:47:15 +0000
commit7782a0c643afd8ece1e874043933f2f739171de1 (patch)
treec0f7b61a1daee3dc861b3af1516e7ee245bcd4b8 /lisp
parent0af64910724eeb004c50cb7a436d6783b6628155 (diff)
(comint-password-prompt-regexp): Handle PGP prompt.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/comint.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index d8c51121de..c18e84e70b 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -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)