]> git.eshelyaron.com Git - emacs.git/commitdiff
Add "passwd" (change password) prompt to comint
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 27 Sep 2021 05:55:37 +0000 (07:55 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 27 Sep 2021 05:55:37 +0000 (07:55 +0200)
* lisp/comint.el (comint-password-prompt-regexp): Add "passwd" (to
change the password) first promp in Debian bullseye.

lisp/comint.el
test/lisp/comint-tests.el

index 8bf23897f9ea3cbdfa0f38501da4f314ce5d6d4b..26aa5547a31acc4480f2060e179a7c1999952c70 100644 (file)
@@ -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")
index 19d0cca88c8f0a42a1c535cacf5204660492996f..4cba1e4cf233495c9cedc04cb6c459d90b2b96f6 100644 (file)
@@ -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)