summaryrefslogtreecommitdiff
path: root/lisp/comint.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-07-31 20:47:15 +0000
committerRichard M. Stallman <rms@gnu.org>1994-07-31 20:47:15 +0000
commit989f8dc537c35d552612fcfa6023166c982d41d3 (patch)
tree4c8d69590e64eaf811ff544b62901af81ab53493 /lisp/comint.el
parent7344c92e32cbc7482c09a97940c0cba14d68b77e (diff)
downloademacs-989f8dc537c35d552612fcfa6023166c982d41d3.tar.gz
(comint-password-prompt-regexp): Handle PGP prompt.
Diffstat (limited to 'lisp/comint.el')
-rw-r--r--lisp/comint.el5
1 files 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)