]> code.delx.au - gnu-emacs/blobdiff - lisp/org/org-indent.el
Merge from emacs-24 branch
[gnu-emacs] / lisp / org / org-indent.el
index ae0c91eaedff462ebd511ccdfd9f163425b3e22a..99a75841dee8d4ab0c51b4356ccee1f7309aa606 100644 (file)
@@ -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)