emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 4f25bef: Include "Retype" as a comint password prom


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 4f25bef: Include "Retype" as a comint password prompt
Date: Mon, 25 Apr 2016 22:31:29 +0000

branch: master
commit 4f25bef332264df2e4d096e529a63655fa03c5bc
Author: Lars Magne Ingebrigtsen <address@hidden>
Commit: Lars Magne Ingebrigtsen <address@hidden>

    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).
---
 lisp/comint.el |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisp/comint.el b/lisp/comint.el
index dcd4a5a..88fc0b2 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -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)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]