1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00

* comint.el (comint-previous-matching-input): Do not flood the

*Messages* buffer with trivial messages.
This commit is contained in:
Leo Liu 2013-05-25 10:40:33 +08:00
parent 17e5c0cc8f
commit 24d699fab1
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-05-25 Leo Liu <sdl.web@gmail.com>
* comint.el (comint-previous-matching-input): Do not flood the
*Messages* buffer with trivial messages.
2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/flymake.el (flymake-nop): Don't return a string.

View File

@ -1190,7 +1190,8 @@ If N is negative, find the next or Nth next match."
(funcall comint-get-old-input)))
(setq comint-input-ring-index pos)
(unless isearch-mode
(message "History item: %d" (1+ pos)))
(let ((message-log-max nil)) ; Do not write to *Messages*.
(message "History item: %d" (1+ pos))))
(comint-delete-input)
(insert (ring-ref comint-input-ring pos)))))