[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 5c543cd9d9 2/5: lisp/ol.el (org-link-search): Clari
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 5c543cd9d9 2/5: lisp/ol.el (org-link-search): Clarify that narrowing is respected |
Date: |
Fri, 15 Dec 2023 09:58:27 -0500 (EST) |
branch: externals/org
commit 5c543cd9d92a85879742f88e5a9bd3184c761e5f
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
lisp/ol.el (org-link-search): Clarify that narrowing is respected
---
lisp/ol.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/ol.el b/lisp/ol.el
index e62e953ecc..6480b780d0 100644
--- a/lisp/ol.el
+++ b/lisp/ol.el
@@ -1164,7 +1164,7 @@ Optional argument ARG is passed to `org-open-file' when S
is a
(link (org-link-open link arg))))
(defun org-link-search (s &optional avoid-pos stealth)
- "Search for a search string S.
+ "Search for a search string S in the accessible part of the buffer.
If S starts with \"#\", it triggers a custom ID search.
@@ -1184,7 +1184,8 @@ visibility around point, thus ignoring
`org-show-context-detail'
variable.
Search is case-insensitive and ignores white spaces. Return type
-of matched result, which is either `dedicated' or `fuzzy'."
+of matched result, which is either `dedicated' or `fuzzy'. Search
+respects buffer narrowing."
(unless (org-string-nw-p s) (error "Invalid search string \"%s\"" s))
(let* ((case-fold-search t)
(origin (point))