summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-09-21 19:08:18 +0200
committerThomas F. K. Jorna <[email protected]>2021-09-21 19:08:18 +0200
commit0e2dfcfb711be2b02090ae8cb34a99afbcf3b730 (patch)
treed78c5fc3b98a1d6d561f2a563e54bbb3f3de748e
parent93d83d59f4cc2a8b60ad1009f17c2bd5a0f7dd7a (diff)
parentdcfedf0e83295e680d2b6c444b2bca9f95835334 (diff)
Merge branch 'main' of https://github.com/org-roam/org-roam-ui
-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 c0cc27f..2cde148 100644
--- a/org-roam-ui.el
+++ b/org-roam-ui.el
@@ -356,7 +356,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) (buffer-file-name))
+ (when (and (websocket-openp oru-ws) (org-roam-buffer-p) (buffer-file-name (buffer-base-buffer)))
(let* ((node (org-roam-id-at-point)))
(unless (string= org-roam-ui--ws-current-node node)
(setq org-roam-ui--ws-current-node node)