From 6f233363c8ed32b45c66a2e32b2c693ed611ad31 Mon Sep 17 00:00:00 2001 From: Jethro Kuan Date: Sat, 10 Apr 2021 00:34:43 +0800 Subject: [PATCH] fix indents --- org-roam-capture.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/org-roam-capture.el b/org-roam-capture.el index 8f4a096..dd64fc1 100644 --- a/org-roam-capture.el +++ b/org-roam-capture.el @@ -154,8 +154,8 @@ This function is to be called in the Org-capture finalization process." (org-with-point-at pos (setq ref-lst (org-entry-get (point) "ROAM_REFS")) (setq ref-lst (if ref-lst - (cl-pushnew ref-lst ref) - (list ref))) + (cl-pushnew (split-string-and-unquote ref-lst) ref) + (list ref))) (org-set-property "ROAM_REFS" (combine-and-quote-strings ref-lst)))))) (defun org-roam-capture--finalize () @@ -378,7 +378,7 @@ TEMPLATES is a list of org-roam templates." (mapcar (lambda (t) (org-roam-capture--convert-template t props)) (or templates org-roam-capture-templates))) - (org-roam-capture--info info)) + (org-roam-capture--info info)) (when (and (not keys) (= (length org-capture-templates) 1)) (setq keys (caar org-capture-templates)))