aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2011-07-04 14:15:16 +0200
committerLars Magne Ingebrigtsen2011-07-04 14:15:16 +0200
commitf158badc8f5edcb9984acaf28a2876ea7f5f11ec (patch)
treedd41b37c5e8fd29d1026a9500b2bb73ea6b728d4
parent6d95bd466439906b67b9c06647f3d20857c30599 (diff)
downloademacs-f158badc8f5edcb9984acaf28a2876ea7f5f11ec.tar.gz
emacs-f158badc8f5edcb9984acaf28a2876ea7f5f11ec.zip
* isearch.el (isearch-search-fun-function): Clarify further the
meaning of the function returned.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/isearch.el9
2 files changed, 11 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 40c32784f9a..3bae3baaa71 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * isearch.el (isearch-search-fun-function): Clarify further the
4 meaning of the function returned.
5
12011-07-04 Michael Albinus <michael.albinus@gmx.de> 62011-07-04 Michael Albinus <michael.albinus@gmx.de>
2 7
3 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command. 8 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 58af9236d51..50e7b331c85 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -2227,9 +2227,12 @@ If there is no completion possible, say so and continue searching."
2227 2227
2228(defvar isearch-search-fun-function nil 2228(defvar isearch-search-fun-function nil
2229 "Overrides the default `isearch-search-fun' behaviour. 2229 "Overrides the default `isearch-search-fun' behaviour.
2230This variable should be a function, which will be called with no 2230This variable's value should be a function, which will be called
2231arguments, and should return a function that takes the same three 2231with no arguments, and should return a function that takes three
2232arguments as `isearch-search-string' requires.") 2232arguments: STRING, BOUND, and NOERROR.
2233
2234This returned function will be used by `isearch-search-string' to
2235search for the first occurrence of STRING or its translation.")
2233 2236
2234(defun isearch-search-fun () 2237(defun isearch-search-fun ()
2235 "Return the function to use for the search. 2238 "Return the function to use for the search.