Browse Source

org-capture: Tiny refactoring

* lisp/org-capture.el (org-capture-set-target-location): Use
  `point-marker'.  Also remove trailing space.
Nicolas Goaziou 8 years ago
parent
commit
2ff038da31
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-capture.el

+ 1 - 1
lisp/org-capture.el

@@ -963,7 +963,7 @@ Store them in the capture property list."
 		      (org-find-olp (cons (org-capture-expand-file path)
 					  outline-path))
 		    (set-buffer (org-capture-target-buffer path))
-		    (move-marker (make-marker) (point)))))		    
+		    (point-marker))))
 	   (set-buffer (marker-buffer m))
 	   (org-capture-put-target-region-and-position)
 	   (widen)