1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

Include "Retype" as a comint password prompt

* lisp/comint.el (comint-password-prompt-regexp): Include
"Retype" to catch "Retype password for [account]:" from the
"pass" utility (bug#22942).
This commit is contained in:
Lars Magne Ingebrigtsen 2016-04-26 00:30:36 +02:00
parent 89d1776b81
commit 4f25bef332

View file

@ -345,14 +345,15 @@ This variable is buffer-local."
(regexp-opt
'("Enter" "enter" "Enter same" "enter same" "Enter the" "enter the"
"Old" "old" "New" "new" "'s" "login"
"Kerberos" "CVS" "UNIX" " SMB" "LDAP" "[sudo]" "Repeat" "Bad") t)
"Kerberos" "CVS" "UNIX" " SMB" "LDAP" "[sudo]" "Repeat" "Bad" "Retype")
t)
" +\\)"
"\\(?:" (regexp-opt password-word-equivalents) "\\|Response\\)"
"\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?\
\\(?: for [^:]+\\)?[:]\\s *\\'")
"Regexp matching prompts for passwords in the inferior process.
This is used by `comint-watch-for-password-prompt'."
:version "24.4"
:version "25.2"
:type 'regexp
:group 'comint)