summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-03-17 08:26:29 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-03-17 08:26:29 +0100
commit2ff038da311350ebf03b89074ffa77fe729183fe (patch)
tree4ce2bbbe98c2e6ed8ee2f5fa2036fe45ff361f88
parentf6f02ea01994521e8f8b35b813f449eac4d387b5 (diff)
downloadorg-mode-2ff038da311350ebf03b89074ffa77fe729183fe.tar.gz
org-capture: Tiny refactoring
* lisp/org-capture.el (org-capture-set-target-location): Use `point-marker'. Also remove trailing space.
-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 046a804..03e5230 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)