From: Lars Ingebrigtsen Date: Sat, 30 Apr 2016 22:16:42 +0000 (+0200) Subject: isearch-search-fun-function doc tweak X-Git-Tag: emacs-25.0.94~59 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9f27bcf;p=emacs.git isearch-search-fun-function doc tweak * lisp/isearch.el (isearch-search-fun-function): Mention what the STRING parameter is (bug#21552). (cherry picked from commit cafc2a5940cdc523cfea6dcf1cf540f48367c62a) --- diff --git a/lisp/isearch.el b/lisp/isearch.el index 218c18a666e..b2223e7b308 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -2662,8 +2662,9 @@ the word mode." "Non-default value overrides the behavior of `isearch-search-fun-default'. 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. See `re-search-forward' -for the meaning of BOUND and NOERROR arguments. +arguments: STRING, BOUND, and NOERROR. STRING is the string to +be searched for. See `re-search-forward' for the meaning of +BOUND and NOERROR arguments. This returned function will be used by `isearch-search-string' to search for the first occurrence of STRING.")