From 43fcda0c8eafa2c7bfc0a416a48b223c6fec4d87 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. --- etc/NEWS | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index f9ed0dd17e7..7529778378d 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -449,10 +449,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'