]> git.eshelyaron.com Git - emacs.git/commitdiff
* isearch.el (isearch-search-fun-function): Clarify further the
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 4 Jul 2011 12:15:16 +0000 (14:15 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 4 Jul 2011 12:15:16 +0000 (14:15 +0200)
meaning of the function returned.

lisp/ChangeLog
lisp/isearch.el

index 40c32784f9aac1ee15836e5b65930be60dcf820d..3bae3baaa71ac9c843dbf1502263b92841be76be 100644 (file)
@@ -1,3 +1,8 @@
+2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * isearch.el (isearch-search-fun-function): Clarify further the
+       meaning of the function returned.
+
 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
 
        * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
index 58af9236d51185c551fad014dc208fb0b5ed1b3e..50e7b331c85910f0387feb70827c2f9b193b57d4 100644 (file)
@@ -2227,9 +2227,12 @@ If there is no completion possible, say so and continue searching."
 
 (defvar isearch-search-fun-function nil
   "Overrides the default `isearch-search-fun' behaviour.
-This variable should be a function, which will be called with no
-arguments, and should return a function that takes the same three
-arguments as `isearch-search-string' requires.")
+This variable's value should be a function, which will be called
+with no arguments, and should return a function that takes three
+arguments: STRING, BOUND, and NOERROR.
+
+This returned function will be used by `isearch-search-string' to
+search for the first occurrence of STRING or its translation.")
 
 (defun isearch-search-fun ()
   "Return the function to use for the search.