diff options
author | Bastien <bzg@gnu.org> | 2021-05-15 11:00:49 +0200 |
---|---|---|
committer | Bastien <bzg@gnu.org> | 2021-05-15 11:00:49 +0200 |
commit | d37e8a14b740158297580ad93d50db62f7eaa738 (patch) | |
tree | 4568a685e62bb4353744a644a8e29f311a4483ab | |
parent | f313b8184129090395f1ac774c1287ca7453d948 (diff) | |
download | org-mode-d37e8a14b740158297580ad93d50db62f7eaa738.tar.gz |
lisp/org.el: Fix indenting of planning line
* lisp/org.el (org-indent-line): Fix indenting of planning line.
-rw-r--r-- | lisp/org.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/org.el b/lisp/org.el index b55189d..f977c53 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -19000,13 +19000,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)) |