mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-11 09:20:32 +00:00
lisp/org.el: Fix indenting of planning line
* lisp/org.el (org-indent-line): Fix indenting of planning line.
This commit is contained in:
parent
7dcb1afb69
commit
99d873b9c3
@ -19081,13 +19081,13 @@ Also align node properties according to `org-property-format'."
|
||||
(interactive)
|
||||
(unless (or (org-at-heading-p)
|
||||
(and (eq org-adapt-indentation 'headline-data)
|
||||
(not (org-at-clock-log-p))
|
||||
(not (or (org-at-clock-log-p)
|
||||
(org-at-planning-p)))
|
||||
(save-excursion
|
||||
(beginning-of-line 1)
|
||||
(skip-chars-backward "\n")
|
||||
(or (org-at-heading-p)
|
||||
(looking-back ":END:.*" (point-at-bol))
|
||||
(org-at-planning-p)))))
|
||||
(looking-back ":END:.*" (point-at-bol))))))
|
||||
(let* ((element (save-excursion (beginning-of-line) (org-element-at-point)))
|
||||
(type (org-element-type element)))
|
||||
(cond ((and (memq type '(plain-list item))
|
||||
|
Loading…
Reference in New Issue
Block a user