branch: externals/org
commit 407104459b86a40e03f5f1f323d28ad935721ef3
Author: Ihor Radchenko <yanta...@gmail.com>
Commit: Ihor Radchenko <yanta...@gmail.com>

    org-fold: Honour `org-fold-show-context-detail' for isearch
    
    * lisp/org-fold.el (org-fold--isearch-reveal): Call
    `org-fold-show-visibility'.  The previously used
    `org-fold-show-set-visibility' does not accept context as argument.
    
    Reported in https://orgmode.org/list/8735i5gd8n....@gmail.com
---
 lisp/org-fold.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-fold.el b/lisp/org-fold.el
index 1484af72ee..0c978a377f 100644
--- a/lisp/org-fold.el
+++ b/lisp/org-fold.el
@@ -897,7 +897,7 @@ go to the parent and show the entire tree."
 
 (defun org-fold--isearch-reveal (&rest _)
   "Reveal text at POS found by isearch."
-  (org-fold-show-set-visibility 'isearch))
+  (org-fold-show-context 'isearch))
 
 ;;; Handling changes in folded elements
 

Reply via email to