lisp/org.el: Fix indentation again
* lisp/org.el (org-indent-line): Take care of checking at the beginning of the line. Reported-by: Kévin Le Gouguec <kevin.legouguec@gmail.com> Link: https://orgmode.org/list/878s4wu9oe.fsf@gmail.com/T/#m658a98441dcce099a569ca5b228778aad5d102f3
This commit is contained in:
parent
e7fc34ecf4
commit
445be13972
|
@ -19001,6 +19001,7 @@ Also align node properties according to `org-property-format'."
|
|||
(unless (or (org-at-heading-p)
|
||||
(and (eq org-adapt-indentation 'headline-data)
|
||||
(save-excursion
|
||||
(beginning-of-line 1)
|
||||
(skip-chars-backward "\n")
|
||||
(org-at-heading-p))))
|
||||
(let* ((element (save-excursion (beginning-of-line) (org-element-at-point)))
|
||||
|
|
Loading…
Reference in New Issue