From: Jim Porter Date: Wed, 18 Dec 2024 05:24:00 +0000 (-0800) Subject: ; * etc/NEWS (Eshell): Fix example for restoring old history search. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=62b9125d91f3c760e489dee20d25070d2dfb3ff3;p=emacs.git ; * etc/NEWS (Eshell): Fix example for restoring old history search. (cherry picked from commit 43fcda0c8eafa2c7bfc0a416a48b223c6fec4d87) --- diff --git a/etc/NEWS b/etc/NEWS index 7e86bb36ba3..68ba56c7383 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -335,10 +335,11 @@ is freed for normal search commands. If you would like to restore the previous key-bindings for the non-incremental search commands, put in your configuration: - (keymap-set eshell-hist-mode-map "M-r" - #'eshell-previous-matching-input) - (keymap-set eshell-hist-mode-map "M-s" - #'eshell-next-matching-input) + (with-eval-after-load 'em-hist + (keymap-set eshell-hist-mode-map "M-r" + #'eshell-previous-matching-input) + (keymap-set eshell-hist-mode-map "M-s" + #'eshell-next-matching-input)) +++ *** New user option 'eshell-history-isearch'