summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-03 22:02:14 +0200
committerLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-03 22:02:14 +0200
commitc7f98048774c68d0e169763c1819452d272bceee (patch)
tree1e62598bf03a3b9aca9120e8019d0713674b8fdf /lisp/isearch.el
parenta2d8969d897c49cbb0b1bc7b27fe696becd265d4 (diff)
downloademacs-c7f98048774c68d0e169763c1819452d272bceee.tar.gz
* isearch.el (isearch-search-fun-function): Clarify the doc string
(bug#8101).
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r--lisp/isearch.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 7f018ab14c7..58af9236d51 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -2226,10 +2226,10 @@ If there is no completion possible, say so and continue searching."
;; Searching
(defvar isearch-search-fun-function nil
- "Override `isearch-search-fun'.
-This function should return the search function for Isearch to use.
-It will call this function with three arguments
-as if it were `search-forward'.")
+ "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.")
(defun isearch-search-fun ()
"Return the function to use for the search.