diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-08-07 14:40:43 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-08-07 14:40:43 +0200 |
commit | 24e107b28ce74bd74a547f00f96662db734e6011 (patch) | |
tree | d3be68a8d84b0ab392a2afaf9313c2673f885f0f /org-roam-ui.el | |
parent | 132a16503c3c813dbd28b58c286ebb02bfd2d802 (diff) |
fix: correct label background text and .el cleanup
Diffstat (limited to 'org-roam-ui.el')
-rw-r--r-- | org-roam-ui.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/org-roam-ui.el b/org-roam-ui.el index a4c81c1..3e722a4 100644 --- a/org-roam-ui.el +++ b/org-roam-ui.el @@ -185,14 +185,13 @@ This serves the web-build and API over HTTP." (org-roam-db-sync) (org-roam-ui--send-graphdata))) ((string= command "create") - (progn (if (and (fboundp #'orb-edit-note) (alist-get 'ROAM_REFS data)) - (orb-edit-note (alist-get 'id data))) - (org-roam-capture- - :node (org-roam-node-create :title (alist-get 'title data)) - :props '(:finalize find-file)))) - (t (message "Something went wrong when receiving a message from Org-Roam-UI"))))) + (orb-edit-note (alist-get 'id data))) + (org-roam-capture- + :node (org-roam-node-create :title (alist-get 'title data)) + :props '(:finalize find-file)))) + (t (message "Something went wrong when receiving a message from Org-Roam-UI"))))) :on-close (lambda (_websocket) (remove-hook 'after-save-hook #'org-roam-ui--on-save) (org-roam-ui-follow-mode -1) |