From: Richard M. Stallman Date: Sun, 31 Jul 1994 20:47:15 +0000 (+0000) Subject: (comint-password-prompt-regexp): Handle PGP prompt. X-Git-Tag: emacs-19.34~7453 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7782a0c643afd8ece1e874043933f2f739171de1;p=emacs.git (comint-password-prompt-regexp): Handle PGP prompt. --- 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)