forked from mirrors/org-mode
* lisp/org.el (org-at-heading-p): Do not call redundant `bolp'
This commit is contained in:
parent
546f2d86d1
commit
c0cdc5f77c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue