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

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

[elpa] externals/org c0cdc5f77c 08/10: * lisp/org.el (org-at-heading-p):


From: ELPA Syncer
Subject: [elpa] externals/org c0cdc5f77c 08/10: * lisp/org.el (org-at-heading-p): Do not call redundant `bolp'
Date: Sun, 14 May 2023 08:58:56 -0400 (EDT)

branch: externals/org
commit c0cdc5f77c255242722f7922a41e0ac3c5ce5ffe
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    * lisp/org.el (org-at-heading-p): Do not call redundant `bolp'
---
 lisp/org.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org.el b/lisp/org.el
index 497baa8507..57fe046a74 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -20429,7 +20429,7 @@ Respect narrowing."
 If INVISIBLE-NOT-OK is non-nil, an invisible heading line is not ok."
   (save-excursion
     (beginning-of-line)
-    (and (bolp) (or (not invisible-not-ok) (not (org-fold-folded-p)))
+    (and (or (not invisible-not-ok) (not (org-fold-folded-p)))
         (looking-at outline-regexp))))
 
 (defun org-in-commented-heading-p (&optional no-inheritance element)



reply via email to

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