emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/org-tree-slide 619fbb17a2 121/144: buffer-narrowed-p is ap


From: ELPA Syncer
Subject: [nongnu] elpa/org-tree-slide 619fbb17a2 121/144: buffer-narrowed-p is applied
Date: Tue, 18 Jan 2022 08:59:54 -0500 (EST)

branch: elpa/org-tree-slide
commit 619fbb17a2b65fb81af87ac8cab04436f6d742f3
Author: Takaaki ISHIKAWA <takaxp@ieee.org>
Commit: Takaaki ISHIKAWA <takaxp@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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]