*Messages* buffer with trivial messages.
+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.
(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)))))