diff options
author | Jim Porter <jporterbugs@gmail.com> | 2024-06-15 11:03:33 -0700 |
---|---|---|
committer | Jim Porter <jporterbugs@gmail.com> | 2024-06-20 17:37:19 -0700 |
commit | 1a55e957ae57ec32ae960eabdb170b5b427392d4 (patch) | |
tree | 4de7e9df6e55c76bd69df1d94d5f3ec5ea6513e4 /lisp/emacs-lisp/byte-run.el | |
parent | 72f2b01e318054e2e040f7de676e9c4919533161 (diff) | |
download | emacs-1a55e957ae57ec32ae960eabdb170b5b427392d4.tar.gz emacs-1a55e957ae57ec32ae960eabdb170b5b427392d4.tar.bz2 emacs-1a55e957ae57ec32ae960eabdb170b5b427392d4.zip |
Limit the amount of text we examine when looking for password prompts
Both Comint and Eshell do this, and it can significantly slow down
commands that write a lot of output (bug#71576).
* lisp/comint.el (comint-password-prompt-max-length): New variable...
(comint-watch-for-password-prompt): ... use it. Additionally, use the
matched result for the Emacs-based password prompt.
* lisp/eshell/esh-mode.el (eshell-password-prompt-max-length): New
variable...
(eshell-watch-for-password-prompt): ... use it.
* etc/NEWS: Announce this change.
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
0 files changed, 0 insertions, 0 deletions