diff options
| author | Jim Porter | 2024-12-17 21:24:00 -0800 |
|---|---|---|
| committer | Jim Porter | 2024-12-17 21:24:00 -0800 |
| commit | 43fcda0c8eafa2c7bfc0a416a48b223c6fec4d87 (patch) | |
| tree | e07d4cf9a2377533553b8aa68971f7e4789d9311 | |
| parent | 14a3dd6a30f7a720f29d51f2df8f8ab8138989a0 (diff) | |
| download | emacs-43fcda0c8eafa2c7bfc0a416a48b223c6fec4d87.tar.gz emacs-43fcda0c8eafa2c7bfc0a416a48b223c6fec4d87.zip | |
; * etc/NEWS (Eshell): Fix example for restoring old history search.
| -rw-r--r-- | etc/NEWS | 9 |
1 files changed, 5 insertions, 4 deletions
| @@ -449,10 +449,11 @@ is freed for normal search commands. If you would like to restore the | |||
| 449 | previous key-bindings for the non-incremental search commands, put in | 449 | previous key-bindings for the non-incremental search commands, put in |
| 450 | your configuration: | 450 | your configuration: |
| 451 | 451 | ||
| 452 | (keymap-set eshell-hist-mode-map "M-r" | 452 | (with-eval-after-load 'em-hist |
| 453 | #'eshell-previous-matching-input) | 453 | (keymap-set eshell-hist-mode-map "M-r" |
| 454 | (keymap-set eshell-hist-mode-map "M-s" | 454 | #'eshell-previous-matching-input) |
| 455 | #'eshell-next-matching-input) | 455 | (keymap-set eshell-hist-mode-map "M-s" |
| 456 | #'eshell-next-matching-input)) | ||
| 456 | 457 | ||
| 457 | +++ | 458 | +++ |
| 458 | *** New user option 'eshell-history-isearch' | 459 | *** New user option 'eshell-history-isearch' |