]> code.delx.au - gnu-emacs/commitdiff
Include "Retype" as a comint password prompt
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 25 Apr 2016 22:30:36 +0000 (00:30 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 25 Apr 2016 22:31:26 +0000 (00:31 +0200)
* lisp/comint.el (comint-password-prompt-regexp): Include
"Retype" to catch "Retype password for [account]:" from the
"pass" utility (bug#22942).

lisp/comint.el

index dcd4a5ae4cfeae0c583472ef1b65567d9488ac43..88fc0b2d197e737536ab458e6eb769d6c74e01bd 100644 (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)