summaryrefslogtreecommitdiff
path: root/doc/emacs
diff options
context:
space:
mode:
authorXue Fuqiao <xfq.free@gmail.com>2013-12-22 13:36:29 +0800
committerXue Fuqiao <xfq.free@gmail.com>2013-12-22 13:36:29 +0800
commit07e9eaa2dc08892075f110a30c768a7751da083c (patch)
tree002fc2fc6860bae3daca0788269196237b2fe941 /doc/emacs
parent8d3c54a0b225a159002c92bd13ebe1086857dac2 (diff)
Document `isearch-forward-symbol-at-point'.
* doc/emacs/search.texi (Symbol Search): Document `isearch-forward-symbol-at-point'.
Diffstat (limited to 'doc/emacs')
-rw-r--r--doc/emacs/ChangeLog2
-rw-r--r--doc/emacs/search.texi10
2 files changed, 10 insertions, 2 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 64b77d9c1d..fbc7da4b1c 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,5 +1,7 @@
2013-12-22 Xue Fuqiao <xfq.free@gmail.com>
+ * search.texi (Symbol Search): Document `isearch-forward-symbol-at-point'.
+
* files.texi (File Conveniences): Document `image-next-file' and `image-previous-file'.
* display.texi (Optional Mode Line): Fix an index.
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index 13e61b7026..16eed9b16d 100644
--- a/doc/emacs/search.texi
+++ b/doc/emacs/search.texi
@@ -506,6 +506,9 @@ searching source code.
If incremental search is active, toggle symbol search mode
(@code{isearch-toggle-symbol}); otherwise, begin an incremental
forward symbol search (@code{isearch-forward-symbol}).
+@item M-s .
+Start a symbol incremental search forward with the symbol found near
+point added to the search string initially.
@item M-s _ @key{RET} @var{symbol} @key{RET}
Search forward for @var{symbol}, nonincrementally.
@item M-s _ C-r @key{RET} @var{symbol} @key{RET}
@@ -513,9 +516,12 @@ Search backward for @var{symbol}, nonincrementally.
@end table
@kindex M-s _
+@kindex M-s .
@findex isearch-forward-symbol
- To begin a forward incremental symbol search, type @kbd{M-s _}. If
-incremental search is not already active, this runs the command
+@findex isearch-forward-symbol-at-point
+ To begin a forward incremental symbol search, type @kbd{M-s _} (or
+@kbd{M-s .} if the symbol to search is near point). If incremental
+search is not already active, this runs the command
@code{isearch-forward-symbol}. If incremental search is already
active, @kbd{M-s _} switches to a symbol search, preserving the
direction of the search and the current search string; you can disable