From 99d873b9c35ac4a7dfda348c345869077676a809 Mon Sep 17 00:00:00 2001 From: Bastien Date: Sat, 15 May 2021 11:00:49 +0200 Subject: [PATCH] lisp/org.el: Fix indenting of planning line * lisp/org.el (org-indent-line): Fix indenting of planning line. --- lisp/org.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 8463c335a..350d0470a 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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))