org-capture: Tiny refactoring
* lisp/org-capture.el (org-capture-set-target-location): Use `point-marker'. Also remove trailing space.
This commit is contained in:
parent
f6f02ea019
commit
2ff038da31
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue