[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8101: 24.0.50; `isearch-search-fun-function'
From: |
Lars Magne Ingebrigtsen |
Subject: |
bug#8101: 24.0.50; `isearch-search-fun-function' |
Date: |
Mon, 04 Jul 2011 14:13:40 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
"Drew Adams" <drew.adams@oracle.com> writes:
> OK, but:
>
> 1. (English) "This variable's value should be..." It is the value, not the
> variable itself.
>
> 2. (Meaning) Without the last sentence I wrote above (or something equivalent)
> we don't say what the function (value of the var) _does_. What's the point of
> someone providing a function as the value if we don't say what the function is
> for?
How about this version, which I've now checked in:
(defvar isearch-search-fun-function nil
"Overrides the default `isearch-search-fun' behaviour.
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.")
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/