aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoam Postavsky2019-05-04 13:20:42 -0400
committerNoam Postavsky2019-06-06 19:29:42 -0400
commita14eb43215b5cbb99175d2b23f582011948b2eaa (patch)
treea16c15478d57e27456e91012b90cbe2c95f13310
parent7c26e0b18d0cdf656778d6dd332972b538491d95 (diff)
downloademacs-a14eb43215b5cbb99175d2b23f582011948b2eaa.tar.gz
emacs-a14eb43215b5cbb99175d2b23f582011948b2eaa.zip
Add "pin" to password-word-equivalents (Bug#35523)
* lisp/international/mule-conf.el (password-word-equivalents): Add "pin". * test/lisp/comint-tests.el (comint-testsuite-password-strings): Add test case.
-rw-r--r--lisp/international/mule-conf.el4
-rw-r--r--test/lisp/comint-tests.el1
2 files changed, 3 insertions, 2 deletions
diff --git a/lisp/international/mule-conf.el b/lisp/international/mule-conf.el
index c84dc819d1c..69a505d3066 100644
--- a/lisp/international/mule-conf.el
+++ b/lisp/international/mule-conf.el
@@ -1585,7 +1585,7 @@ for decoding and encoding files, process I/O, etc."
1585(aset latin-extra-code-table ?\226 t) 1585(aset latin-extra-code-table ?\226 t)
1586 1586
1587(defcustom password-word-equivalents 1587(defcustom password-word-equivalents
1588 '("password" "passcode" "passphrase" "pass phrase" 1588 '("password" "passcode" "passphrase" "pass phrase" "pin"
1589 ; These are sorted according to the GNU en_US locale. 1589 ; These are sorted according to the GNU en_US locale.
1590 "암호" ; ko 1590 "암호" ; ko
1591 "パスワード" ; ja 1591 "パスワード" ; ja
@@ -1636,7 +1636,7 @@ password prompts, including prompts in languages other than
1636English. Different case choices should not be assumed to be 1636English. Different case choices should not be assumed to be
1637included; callers should bind `case-fold-search' to t." 1637included; callers should bind `case-fold-search' to t."
1638 :type '(repeat string) 1638 :type '(repeat string)
1639 :version "24.4" 1639 :version "27.1"
1640 :group 'processes) 1640 :group 'processes)
1641 1641
1642;; The old code-pages library is obsoleted by coding systems based on 1642;; The old code-pages library is obsoleted by coding systems based on
diff --git a/test/lisp/comint-tests.el b/test/lisp/comint-tests.el
index 0d2d648bbae..09f10879f9b 100644
--- a/test/lisp/comint-tests.el
+++ b/test/lisp/comint-tests.el
@@ -37,6 +37,7 @@
37 "Passphrase for key root@GNU.ORG: " ; plink 37 "Passphrase for key root@GNU.ORG: " ; plink
38 "[sudo] password for user:" ; Ubuntu sudo 38 "[sudo] password for user:" ; Ubuntu sudo
39 "[sudo] user 的密码:" ; localized 39 "[sudo] user 的密码:" ; localized
40 "PIN for user:" ; Bug#35523
40 "Password (again):" 41 "Password (again):"
41 "Enter password:" 42 "Enter password:"
42 "Enter Auth Password:" ; OpenVPN (Bug#35724) 43 "Enter Auth Password:" ; OpenVPN (Bug#35724)