summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2018-03-11 19:22:25 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2018-03-11 19:22:25 +0100
commit0de818964d0fa7dca8ae42b8e93ab91d365ee683 (patch)
treed0c8e73da35dd9eae8cf57c723944da3a8c7a31b
parentbb5e79e2e8c8e95ac05197988c4dbbafbfc02474 (diff)
parent2f587d496ff94ff76254ef53255bb971fbe234ba (diff)
downloadorg-mode-0de818964d0fa7dca8ae42b8e93ab91d365ee683.tar.gz
Merge branch 'maint'
-rw-r--r--lisp/org-capture.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-capture.el b/lisp/org-capture.el
index 6593e1a..f34f311 100644
--- a/lisp/org-capture.el
+++ b/lisp/org-capture.el
@@ -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))