diff options
| author | Lars Magne Ingebrigtsen | 2011-07-04 14:15:16 +0200 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2011-07-04 14:15:16 +0200 |
| commit | f158badc8f5edcb9984acaf28a2876ea7f5f11ec (patch) | |
| tree | dd41b37c5e8fd29d1026a9500b2bb73ea6b728d4 | |
| parent | 6d95bd466439906b67b9c06647f3d20857c30599 (diff) | |
| download | emacs-f158badc8f5edcb9984acaf28a2876ea7f5f11ec.tar.gz emacs-f158badc8f5edcb9984acaf28a2876ea7f5f11ec.zip | |
* isearch.el (isearch-search-fun-function): Clarify further the
meaning of the function returned.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/isearch.el | 9 |
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 @@ | |||
| 1 | 2011-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 | |||
| 1 | 2011-07-04 Michael Albinus <michael.albinus@gmx.de> | 6 | 2011-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. |
| 2230 | This variable should be a function, which will be called with no | 2230 | This variable's value should be a function, which will be called |
| 2231 | arguments, and should return a function that takes the same three | 2231 | with no arguments, and should return a function that takes three |
| 2232 | arguments as `isearch-search-string' requires.") | 2232 | arguments: STRING, BOUND, and NOERROR. |
| 2233 | |||
| 2234 | This returned function will be used by `isearch-search-string' to | ||
| 2235 | search 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. |