From 7782a0c643afd8ece1e874043933f2f739171de1 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 31 Jul 1994 20:47:15 +0000 Subject: [PATCH] (comint-password-prompt-regexp): Handle PGP prompt. --- lisp/comint.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/comint.el b/lisp/comint.el index d8c51121de0..c18e84e70b2 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) -- 2.39.5