diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-09-11 18:26:41 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-09-11 18:26:41 +0200 |
commit | 47b1562f8ac6b723b920ffc6e6da638ac11d6ce1 (patch) | |
tree | 9500097c236b4aa5ffc7477b31c90d064ef051c7 /org-roam-ui.el | |
parent | 9ad111d2102c24593f6ac012206bb4b2c9c6c4e1 (diff) | |
parent | 5eaa8850d9e8bc87d8cef6e847acb56fca1d85b9 (diff) |
Merge pull request #84 from Hrothgar32/node-in-new-window
Note opens in new window, if current isn't Roam
Diffstat (limited to 'org-roam-ui.el')
-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)) |