From 2ff038da311350ebf03b89074ffa77fe729183fe Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 17 Mar 2017 08:26:29 +0100 Subject: [PATCH] org-capture: Tiny refactoring * lisp/org-capture.el (org-capture-set-target-location): Use `point-marker'. Also remove trailing space. --- lisp/org-capture.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-capture.el b/lisp/org-capture.el index 046a80494..03e5230ea 100644 --- a/lisp/org-capture.el +++ b/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)