From: Lars Ingebrigtsen Date: Mon, 15 Jul 2019 10:59:02 +0000 (+0200) Subject: Clarify doc of isearch-wrap-function X-Git-Tag: emacs-27.0.90~1897 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b808b9ea494409e32782fb306922545e1ac78147;p=emacs.git Clarify doc of isearch-wrap-function * lisp/isearch.el (isearch-wrap-function): Doc clarification (bug#28388). --- diff --git a/lisp/isearch.el b/lisp/isearch.el index 1aea539e735..97c75b2978b 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -193,8 +193,11 @@ If nil, use function `isearch-message'.") (defvar isearch-wrap-function nil "Function to call to wrap the search when search is failed. -If nil, move point to the beginning of the buffer for a forward search, -or to the end of the buffer for a backward search.") +The function is called with no parameters, and would typically +move point. + +If nil, move point to the beginning of the buffer for a forward +search, or to the end of the buffer for a backward search.") (defvar isearch-push-state-function nil "Function to save a function restoring the mode-specific Isearch state