diff --git a/lisp/org-indent.el b/lisp/org-indent.el index 034b1630b..7e7732bdf 100644 --- a/lisp/org-indent.el +++ b/lisp/org-indent.el @@ -412,6 +412,7 @@ This function is meant to be called by `after-change-functions'." (if (or org-indent-modified-headline-flag (save-excursion (goto-char beg) + (beginning-of-line) (re-search-forward org-outline-regexp-bol end t))) (let ((end (save-excursion (goto-char end)