aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2016-04-26 00:30:36 +0200
committerLars Magne Ingebrigtsen2016-04-26 00:31:26 +0200
commit4f25bef332264df2e4d096e529a63655fa03c5bc (patch)
tree153e5573e3416b68e1d416191b4e59081b82b995
parent89d1776b81ab552192ee41f13ce84ff86bda4556 (diff)
downloademacs-4f25bef332264df2e4d096e529a63655fa03c5bc.tar.gz
emacs-4f25bef332264df2e4d096e529a63655fa03c5bc.zip
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).
-rw-r--r--lisp/comint.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index dcd4a5ae4cf..88fc0b2d197 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -345,14 +345,15 @@ This variable is buffer-local."
345 (regexp-opt 345 (regexp-opt
346 '("Enter" "enter" "Enter same" "enter same" "Enter the" "enter the" 346 '("Enter" "enter" "Enter same" "enter same" "Enter the" "enter the"
347 "Old" "old" "New" "new" "'s" "login" 347 "Old" "old" "New" "new" "'s" "login"
348 "Kerberos" "CVS" "UNIX" " SMB" "LDAP" "[sudo]" "Repeat" "Bad") t) 348 "Kerberos" "CVS" "UNIX" " SMB" "LDAP" "[sudo]" "Repeat" "Bad" "Retype")
349 t)
349 " +\\)" 350 " +\\)"
350 "\\(?:" (regexp-opt password-word-equivalents) "\\|Response\\)" 351 "\\(?:" (regexp-opt password-word-equivalents) "\\|Response\\)"
351 "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?\ 352 "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?\
352\\(?: for [^::៖]+\\)?[::៖]\\s *\\'") 353\\(?: for [^::៖]+\\)?[::៖]\\s *\\'")
353 "Regexp matching prompts for passwords in the inferior process. 354 "Regexp matching prompts for passwords in the inferior process.
354This is used by `comint-watch-for-password-prompt'." 355This is used by `comint-watch-for-password-prompt'."
355 :version "24.4" 356 :version "25.2"
356 :type 'regexp 357 :type 'regexp
357 :group 'comint) 358 :group 'comint)
358 359