summaryrefslogtreecommitdiff
path: root/org-roam-ui.el
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-08-20 19:50:19 +0200
committerThomas F. K. Jorna <[email protected]>2021-08-20 19:50:19 +0200
commit99f7d62bd6fa5a2f0661e8ed5b89ae875e59524a (patch)
treee58726f74df390c37c313e9deda787b81e282ecc /org-roam-ui.el
parenta62d08c2ab525cb90ff1bb9d061cfd00c6180473 (diff)
fix: follow mode breaks on org-capture #74
Diffstat (limited to 'org-roam-ui.el')
-rw-r--r--org-roam-ui.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/org-roam-ui.el b/org-roam-ui.el
index 3bca5cd..ba4dcab 100644
--- a/org-roam-ui.el
+++ b/org-roam-ui.el
@@ -321,7 +321,7 @@ unchanged."
(defun org-roam-ui--update-current-node ()
"Send the current node data to the web-socket."
- (when (and (websocket-openp oru-ws) (org-roam-buffer-p) (file-exists-p (buffer-file-name)))
+ (when (and (websocket-openp oru-ws) (org-roam-buffer-p) (buffer-file-name))
(let* ((node (org-roam-id-at-point)))
(unless (string= org-roam-ui--ws-current-node node)
(setq org-roam-ui--ws-current-node node)