mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 22:07:49 +00:00
org-capture: Fix commit 7d7c38
This commit is contained in:
parent
7d7c38c6b1
commit
df506794db
|
@ -830,7 +830,9 @@ for `entry'-type templates"))
|
||||||
;; empty lines) around entry, use a marker to refer to the
|
;; empty lines) around entry, use a marker to refer to the
|
||||||
;; headline to be refiled. Place the marker in the base buffer,
|
;; headline to be refiled. Place the marker in the base buffer,
|
||||||
;; as the current indirect one is going to be killed.
|
;; as the current indirect one is going to be killed.
|
||||||
(set-marker pos (save-excursion (org-back-to-heading t)) base)
|
(set-marker pos (save-excursion
|
||||||
|
(and (org-back-to-heading t) (point)))
|
||||||
|
base)
|
||||||
(org-capture-put :kill-buffer nil)
|
(org-capture-put :kill-buffer nil)
|
||||||
(unwind-protect
|
(unwind-protect
|
||||||
(progn
|
(progn
|
||||||
|
|
Loading…
Reference in a new issue