diff options
author | Bastien <bzg@gnu.org> | 2021-05-03 09:59:54 +0200 |
---|---|---|
committer | Bastien <bzg@gnu.org> | 2021-05-03 09:59:54 +0200 |
commit | 445be139721508b20d35301ff351886589449a74 (patch) | |
tree | a4650f1fddabe03c86225840c02c28f674a719c6 | |
parent | e7fc34ecf475e6043d89a6edfac9c4ca05552cd8 (diff) | |
download | org-mode-445be139721508b20d35301ff351886589449a74.tar.gz |
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
-rw-r--r-- | lisp/org.el | 1 |
1 files changed, 1 insertions, 0 deletions
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))) |