# HG changeset patch # User John Wiegley # Date 987004171 0 # Node ID 11b33211a9087380f8142dcec0fd5fe2c9133467 # Parent d27be94466e08db930566cb51f5db2276ef5bf6c (eshell-previous-matching-input): Don't display "History item" if the the minibuffer is active. diff -r d27be94466e0 -r 11b33211a908 lisp/eshell/em-hist.el --- a/lisp/eshell/em-hist.el Wed Apr 11 15:49:13 2001 +0000 +++ b/lisp/eshell/em-hist.el Wed Apr 11 15:49:31 2001 +0000 @@ -816,7 +816,8 @@ (if (null pos) (error "Not found") (setq eshell-history-index pos) - (message "History item: %d" (- (ring-length eshell-history-ring) pos)) + (unless (minibuffer-window-active-p (selected-window)) + (message "History item: %d" (- (ring-length eshell-history-ring) pos))) ;; Can't use kill-region as it sets this-command (delete-region (save-excursion (eshell-bol) (point)) (point)) (insert-and-inherit (eshell-get-history pos)))))