mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-24 20:02:51 +00:00
* 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 a new issue