mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 18:36:26 +00:00
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)
|
(org-find-olp (cons (org-capture-expand-file path)
|
||||||
outline-path))
|
outline-path))
|
||||||
(set-buffer (org-capture-target-buffer path))
|
(set-buffer (org-capture-target-buffer path))
|
||||||
(move-marker (make-marker) (point)))))
|
(point-marker))))
|
||||||
(set-buffer (marker-buffer m))
|
(set-buffer (marker-buffer m))
|
||||||
(org-capture-put-target-region-and-position)
|
(org-capture-put-target-region-and-position)
|
||||||
(widen)
|
(widen)
|
||||||
|
|
Loading…
Reference in a new issue