Bläddra i källkod

Merge branch 'maint'

Nicolas Goaziou 8 år sedan
förälder
incheckning
83f5c8962f
1 ändrade filer med 1 tillägg och 3 borttagningar
  1. 1 3
      lisp/org-capture.el

+ 1 - 3
lisp/org-capture.el

@@ -831,9 +831,7 @@ for `entry'-type templates"))
     ;; empty lines) around entry, use a marker to refer to the
     ;; headline to be refiled.  Place the marker in the base buffer,
     ;; as the current indirect one is going to be killed.
-    (set-marker pos (save-excursion
-		      (and (org-back-to-heading t) (point)))
-		base)
+    (set-marker pos (save-excursion (org-back-to-heading t) (point)) base)
     (org-capture-put :kill-buffer nil)
     (unwind-protect
 	(progn