diff options
-rw-r--r-- | org-roam-ui.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org-roam-ui.el b/org-roam-ui.el index 0afa362..85f9e97 100644 --- a/org-roam-ui.el +++ b/org-roam-ui.el @@ -175,9 +175,9 @@ This serves the web-build and API over HTTP." (command (alist-get 'command msg)) (data (alist-get 'data msg))) (cond ((string= command "open") - (org-roam-node-visit - (org-roam-populate (org-roam-node-create - :id (alist-get 'id data))))) + (org-roam-node-visit + (org-roam-populate (org-roam-node-create + :id (alist-get 'id data))) (not (org-roam-buffer-p)))) ((string= command "delete") (progn (message "Deleted %s" (alist-get 'file data)) |