summaryrefslogtreecommitdiff
path: root/lisp/comint.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-03-18 11:17:34 +0100
committerStefan Kangas <stefan@marxist.se>2021-03-18 11:26:37 +0100
commit4d5ad8a16e1fe925dd3fa0993aabb2612a82622b (patch)
treeddb1f347701417c3b094f9afe6b534994ca4018a /lisp/comint.el
parent4eb030319725cfe7fe17049e91fdbed2e222a3c9 (diff)
downloademacs-4d5ad8a16e1fe925dd3fa0993aabb2612a82622b.tar.gz
emacs-4d5ad8a16e1fe925dd3fa0993aabb2612a82622b.tar.bz2
emacs-4d5ad8a16e1fe925dd3fa0993aabb2612a82622b.zip
Add comint-password-prompt-regexp test for "zip -e ..."
* test/lisp/comint-tests.el (comint-testsuite-password-strings): Add test for "zip -e ...". (Bug#47209)
Diffstat (limited to 'lisp/comint.el')
-rw-r--r--lisp/comint.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index bb28db7614a..65072b01376 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -366,6 +366,8 @@ This variable is buffer-local."
;; OpenBSD doas prints "doas (user@host) password:".
;; See ert test `comint-test-password-regexp'.
(defcustom comint-password-prompt-regexp
+ ;; When extending this, please also add a corresponding test where
+ ;; possible (see `comint-testsuite-password-strings').
(concat
"\\(^ *\\|"
(regexp-opt
@@ -382,7 +384,7 @@ This variable is buffer-local."
"\\(?: [[:alpha:]]+ .+\\)?[[:blank:]]*[::៖][[:space:]]*\\'")
"Regexp matching prompts for passwords in the inferior process.
This is used by `comint-watch-for-password-prompt'."
- :version "27.1"
+ :version "28.1"
:type 'regexp
:group 'comint)