Merge branch 'maint'

This commit is contained in:
Bastien 2021-05-03 10:05:32 +02:00
commit 670f45e0ee
1 changed files with 3 additions and 1 deletions

View File

@ -19081,7 +19081,9 @@ Also align node properties according to `org-property-format'."
(save-excursion
(beginning-of-line 1)
(skip-chars-backward "\n")
(org-at-heading-p))))
(or (org-at-heading-p)
(org-at-drawer-p)
(org-at-planning-p)))))
(let* ((element (save-excursion (beginning-of-line) (org-element-at-point)))
(type (org-element-type element)))
(cond ((and (memq type '(plain-list item))