]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/isearch.el (isearch-forward, isearch-mode): Doc fix.
authorJuri Linkov <juri@jurta.org>
Wed, 1 May 2013 08:10:12 +0000 (11:10 +0300)
committerJuri Linkov <juri@jurta.org>
Wed, 1 May 2013 08:10:12 +0000 (11:10 +0300)
Fixes: debbugs:13923
lisp/ChangeLog
lisp/isearch.el

index cf2ac52dcbb630122c9518f25ec6bc40ef64ec78..2e02f567058a0c42a5a74ab9bba2747ce1125158 100644 (file)
@@ -1,3 +1,7 @@
+2013-05-01  Juri Linkov  <juri@jurta.org>
+
+       * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
+
 2013-05-01  Juri Linkov  <juri@jurta.org>
 
        * comint.el (comint-previous-matching-input): Don't print message
index b38bfc885f7b6d3c3c308e2b91de6f8a2b537f6a..72a125fcecbaee36f0dff53961f7d05a3d3f71f6 100644 (file)
@@ -735,8 +735,9 @@ Other control and meta characters terminate the search
  and are then executed normally (depending on `search-exit-option').
 Likewise for function keys and mouse button events.
 
-If this function is called non-interactively, it does not return to
-the calling function until the search is done."
+If this function is called non-interactively with a nil NO-RECURSIVE-EDIT,
+it does not return to the calling function until the search is done.
+See the function `isearch-mode' for more information."
 
   (interactive "P\np")
   (isearch-mode t (not (null regexp-p)) nil (not no-recursive-edit)))
@@ -799,7 +800,23 @@ as a regexp.  See the command `isearch-forward' for more information."
 
 (defun isearch-mode (forward &optional regexp op-fun recursive-edit word)
   "Start Isearch minor mode.
-It is called by the function `isearch-forward' and other related functions."
+It is called by the function `isearch-forward' and other related functions.
+
+The non-nil arg FORWARD means searching in the forward direction.
+
+The non-nil arg REGEXP does an incremental regular expression search.
+
+The arg OP-FUN is a function to be called after each input character
+is processed.  (It is not called after characters that exit the search.)
+
+When the arg RECURSIVE-EDIT is non-nil, this function behaves modally and
+does not return to the calling function until the search is completed.
+To behave this way it enters a recursive-edit and exits it when done
+isearching.
+
+The arg WORD, if t, does incremental search for a sequence of words,
+ignoring punctuation.  If the value is a function, it is called to
+convert the search string to a regexp used by regexp search functions."
 
   ;; Initialize global vars.
   (setq isearch-forward forward