1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-23 07:18:53 +00:00

* lisp/org.el (org-at-heading-p): Do not call redundant `bolp'

This commit is contained in:
Ihor Radchenko 2023-05-04 21:54:12 +02:00
parent 546f2d86d1
commit c0cdc5f77c
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B

View File

@ -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)