]> git.eshelyaron.com Git - emacs.git/commitdiff
(comint-password-prompt-regexp): Handle PGP prompt.
authorRichard M. Stallman <rms@gnu.org>
Sun, 31 Jul 1994 20:47:15 +0000 (20:47 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 31 Jul 1994 20:47:15 +0000 (20:47 +0000)
lisp/comint.el

index d8c51121de07728e297071364b457c9ad32fa124..c18e84e70b27af0d4dbc29141487e8fce4fe2840 100644 (file)
@@ -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)