branch: elpa/org-tree-slide commit 619fbb17a2b65fb81af87ac8cab04436f6d742f3 Author: Takaaki ISHIKAWA <tak...@ieee.org> Commit: Takaaki ISHIKAWA <tak...@ieee.org>
buffer-narrowed-p is applied --- org-tree-slide.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-tree-slide.el b/org-tree-slide.el index 4037c5b30c..77517185f4 100644 --- a/org-tree-slide.el +++ b/org-tree-slide.el @@ -916,7 +916,7 @@ If the cursor exist before first heading, do nothing." (defun org-tree-slide--narrowing-p () "Check the current status if narrowing or not." - (not (and (= (point-min) 1) (= (point-max) (1+ (buffer-size)))))) + (buffer-narrowed-p)) (defun org-tree-slide--before-first-heading-p () "Extension of `org-before-first-heading-p' to support org 6.33x.