lisp/org.el (org-indent-line): Fix another bug
* lisp/org.el (org-indent-line): When `org-adapt-indentation' is 'headline-data, prevent indentation for any first non-empty line after the headline, not just the one right after the headline.
This commit is contained in:
parent
c7331f859d
commit
c3917c3a0b
|
@ -19000,7 +19000,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
|
||||
(move-beginning-of-line 0)
|
||||
(skip-chars-backward "\n")
|
||||
(org-at-heading-p))))
|
||||
(let* ((element (save-excursion (beginning-of-line) (org-element-at-point)))
|
||||
(type (org-element-type element)))
|
||||
|
|
Loading…
Reference in New Issue