[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals-release/org 445be13 1/2: lisp/org.el: Fix indentation a
From: |
ELPA Syncer |
Subject: |
[elpa] externals-release/org 445be13 1/2: lisp/org.el: Fix indentation again |
Date: |
Mon, 3 May 2021 04:57:14 -0400 (EDT) |
branch: externals-release/org
commit 445be139721508b20d35301ff351886589449a74
Author: Bastien <bzg@gnu.org>
Commit: Bastien <bzg@gnu.org>
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
---
lisp/org.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/org.el b/lisp/org.el
index 4547056..97bc06e 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -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)))