From 3664d22fdea816eb50626f58df69a650bf825fe8 Mon Sep 17 00:00:00 2001 From: Jethro Kuan Date: Sat, 17 Apr 2021 18:50:09 +0800 Subject: [PATCH] simplify --- org-roam-capture.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/org-roam-capture.el b/org-roam-capture.el index e83582c..56735ae 100644 --- a/org-roam-capture.el +++ b/org-roam-capture.el @@ -673,8 +673,7 @@ INFO is an alist for filling up Org-roam's capture templates. NODE is an `org-roam-node' construct containing information about the node. PROPS is a plist containing additional Org-roam properties for each template. TEMPLATES is a list of org-roam templates." - (let* ((m (point-marker)) - (props (plist-put props :call-location m)) + (let* ((props (plist-put props :call-location (point-marker))) (org-capture-templates (mapcar (lambda (t) (org-roam-capture--convert-template t props))