diff options
| author | Juri Linkov | 2018-12-04 02:41:54 +0200 |
|---|---|---|
| committer | Juri Linkov | 2018-12-04 02:41:54 +0200 |
| commit | f745cf8c438cdb258bc1a37b617749d1c84e688e (patch) | |
| tree | 77ff048bd255def6999643dd57613ee00e5a12c4 /doc | |
| parent | beafe2bf50992b60cb4e8c9628a7000317279c8c (diff) | |
| download | emacs-f745cf8c438cdb258bc1a37b617749d1c84e688e.tar.gz emacs-f745cf8c438cdb258bc1a37b617749d1c84e688e.zip | |
* lisp/isearch.el (isearch-yank-on-move): New defcustom
with shift-move related options extracted from `search-exit-option'.
(isearch-pre-command-hook): Rename search-exit-option to
isearch-yank-on-move in shift-move related places.
(isearch-post-command-hook): Check for isearch-pre-move-point
instead of search-exit-option. (Bug#15839)
* doc/emacs/search.texi (Not Exiting Isearch): Rename
search-exit-option to isearch-yank-on-move.
* lisp/menu-bar.el (menu-bar-i-search-menu): Add more isearch commands.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/search.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index 35e2bfbb623..8ea80cb9c68 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi | |||
| @@ -548,12 +548,12 @@ an incremental search. This feature is disabled if | |||
| 548 | 548 | ||
| 549 | @item Motion Commands | 549 | @item Motion Commands |
| 550 | @cindex motion commands, during incremental search | 550 | @cindex motion commands, during incremental search |
| 551 | When @code{search-exit-option} is customized to @code{shift-move}, | 551 | When @code{isearch-yank-on-move} is customized to @code{shift}, |
| 552 | you can extend the search string by holding down the shift key while | 552 | you can extend the search string by holding down the shift key while |
| 553 | typing cursor motion commands. It will yank text that ends at the new | 553 | typing cursor motion commands. It will yank text that ends at the new |
| 554 | position after moving point in the current buffer. | 554 | position after moving point in the current buffer. |
| 555 | 555 | ||
| 556 | When @code{search-exit-option} is @code{move}, you can extend the | 556 | When @code{isearch-yank-on-move} is @code{t}, you can extend the |
| 557 | search string without using the shift key for cursor motion commands, | 557 | search string without using the shift key for cursor motion commands, |
| 558 | but it applies only for certain motion command that have the | 558 | but it applies only for certain motion command that have the |
| 559 | @code{isearch-move} property on their symbols. | 559 | @code{isearch-move} property on their symbols. |