lisp/org.el (org-indent-line): Add missing arg to `looking-back'

* lisp/org.el (org-indent-line): Add missing arg to `looking-back'.
This commit is contained in:
Bastien 2021-05-04 22:23:51 +02:00
parent eecc0574d8
commit b718b7035d
1 changed files with 1 additions and 1 deletions

View File

@ -18994,7 +18994,7 @@ Also align node properties according to `org-property-format'."
(beginning-of-line 1) (beginning-of-line 1)
(skip-chars-backward "\n") (skip-chars-backward "\n")
(or (org-at-heading-p) (or (org-at-heading-p)
(looking-back ":END:.*") (looking-back ":END:.*" (point-at-bol))
(org-at-planning-p))))) (org-at-planning-p)))))
(let* ((element (save-excursion (beginning-of-line) (org-element-at-point))) (let* ((element (save-excursion (beginning-of-line) (org-element-at-point)))
(type (org-element-type element))) (type (org-element-type element)))