]> git.eshelyaron.com Git - emacs.git/commit
* lisp/isearch.el (isearch-word): Add docstring.
authorJuri Linkov <juri@jurta.org>
Tue, 29 May 2012 09:27:39 +0000 (12:27 +0300)
committerJuri Linkov <juri@jurta.org>
Tue, 29 May 2012 09:27:39 +0000 (12:27 +0300)
commitd5e61c1c754a725dea0d7b949e705ce4a98789af
tree3b718ed43f7198a3f023746826bd9323fa3997fb
parent8cbd80f7138bcf61518ecaab76d1b762b2510c21
* lisp/isearch.el (isearch-word): Add docstring.
(isearch-occur, isearch-search-and-update): If `isearch-word' is
a function, call it to get the regexp.
(isearch-message-prefix): If `isearch-word' holds a symbol, use its
property `isearch-message-prefix' instead of the string "word ".
(isearch-search-fun-default): For the case of `isearch-word',
return a lambda that calls re-search-forward/re-search-backward
with a regexp returned by `word-search-regexp' or by the function
in `isearch-word'.

Fixes: debbugs:11381
lisp/ChangeLog
lisp/isearch.el