From 62b9125d91f3c760e489dee20d25070d2dfb3ff3 Mon Sep 17 00:00:00 2001 From: Jim Porter Date: Tue, 17 Dec 2024 21:24:00 -0800 Subject: [PATCH] ; * etc/NEWS (Eshell): Fix example for restoring old history search. (cherry picked from commit 43fcda0c8eafa2c7bfc0a416a48b223c6fec4d87) --- etc/NEWS | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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' -- 2.39.5