summaryrefslogtreecommitdiff
path: root/lisp/comint.el
diff options
context:
space:
mode:
authorTino Calancha <ccalancha@suse.com>2020-08-27 22:47:35 +0200
committerTino Calancha <ccalancha@suse.com>2020-08-27 22:53:35 +0200
commit0382368015bfcdb7b88dd68a739f2bc5cde77bce (patch)
tree8533e0ffa0f198e8a2cf8780b10eaa43291dc80c /lisp/comint.el
parenta1999fb319827a2e0cb2bea17dfa190ac81316ef (diff)
downloademacs-bug#38796-lossage-limit.tar.gz
Use only one function to retrieve/set lossage sizebug#38796-lossage-limit
* src/keyboard.c (update-lossage-size): Rename it as lossage-size. Called with no arguments, return the current lossage limit. Called with ARG sets the lossage limit. All callers updated. * doc/emacs/help.texi: Ammend documentation. * etc/NEWS: Amend entry. * lisp/help.el (view-lossage): Fix docstring. * lisp/comint.el (comint-send-invisible) * lisp/term.el (term-read-noecho): Mention the new command in the docstrings. * test/src/keyboard-tests.el: Ammend test.
Diffstat (limited to 'lisp/comint.el')
-rw-r--r--lisp/comint.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index be0e32b9e09..afc8395b36f 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -2393,7 +2393,7 @@ password prompting should occur.")
Then send it to the process running in the current buffer.
The string is sent using `comint-input-sender'.
Security bug: your string can still be temporarily recovered with
-\\[view-lossage]; `clear-this-command-keys' can fix that."
+\\[view-lossage]; `clear-this-command-keys' and `lossage-size' can fix that."
(interactive "P") ; Defeat snooping via C-x ESC ESC
(let ((proc (get-buffer-process (current-buffer)))
(prefix