emacs-diffs
[Top][All Lists]
Advanced

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

master bec88ec 1/2: Add "passwd" (change password) prompt to comint


From: Lars Ingebrigtsen
Subject: master bec88ec 1/2: Add "passwd" (change password) prompt to comint
Date: Mon, 27 Sep 2021 02:15:34 -0400 (EDT)

branch: master
commit bec88ecc82fd6154351a22b67315d9e0b358c046
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Add "passwd" (change password) prompt to comint
    
    * lisp/comint.el (comint-password-prompt-regexp): Add "passwd" (to
    change the password) first promp in Debian bullseye.
---
 lisp/comint.el            | 1 +
 test/lisp/comint-tests.el | 1 +
 2 files changed, 2 insertions(+)

diff --git a/lisp/comint.el b/lisp/comint.el
index 8bf2389..26aa554 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -372,6 +372,7 @@ This variable is buffer-local."
    "\\(^ *\\|"
    (regexp-opt
     '("Enter" "enter" "Enter same" "enter same" "Enter the" "enter the"
+      "Current"
       "Enter Auth" "enter auth" "Old" "old" "New" "new" "'s" "login"
       "Kerberos" "CVS" "UNIX" " SMB" "LDAP" "PEM" "SUDO"
       "[sudo]" "doas" "Repeat" "Bad" "Retype" "Verify")
diff --git a/test/lisp/comint-tests.el b/test/lisp/comint-tests.el
index 19d0cca..4cba1e4 100644
--- a/test/lisp/comint-tests.el
+++ b/test/lisp/comint-tests.el
@@ -43,6 +43,7 @@
     "PIN for user:"        ; Bug#35523
     "Password (again):"
     "Enter password:"
+    "Current password:"    ; "passwd" (to change password) in Debian.
     "Enter Auth Password:" ; OpenVPN (Bug#35724)
     "Verify password: "    ; zip -e zipfile.zip ... (Bug#47209)
     "Mot de Passe :" ; localized (Bug#29729)



reply via email to

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