[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master b808b9e 1/2: Clarify doc of isearch-wrap-function
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master b808b9e 1/2: Clarify doc of isearch-wrap-function |
Date: |
Mon, 15 Jul 2019 07:43:22 -0400 (EDT) |
branch: master
commit b808b9ea494409e32782fb306922545e1ac78147
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Clarify doc of isearch-wrap-function
* lisp/isearch.el (isearch-wrap-function): Doc clarification
(bug#28388).
---
lisp/isearch.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 1aea539..97c75b2 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