Merge branch 'maint'

This commit is contained in:
Nicolas Goaziou 2018-03-11 19:22:25 +01:00
commit 0de818964d
1 changed files with 1 additions and 1 deletions

View File

@ -1121,7 +1121,7 @@ may have been stored before."
(setq level (org-get-valid-level
(if (org-at-heading-p) (org-outline-level) 1)
1))
(if reversed? (outline-next-heading) (org-end-of-subtree t)))
(if reversed? (outline-next-heading) (org-end-of-subtree t t)))
;; Insert as a top-level entry at the beginning of the file.
(reversed?
(goto-char (point-min))