summaryrefslogtreecommitdiff
path: root/org-roam-ui.el
diff options
context:
space:
mode:
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 4084f43..8a3a5b3 100644
--- a/org-roam-ui.el
+++ b/org-roam-ui.el
@@ -136,7 +136,7 @@ This serves the web-build and API over HTTP."
(defun org-roam-ui--update-current-node ()
(let* ((node (org-roam-id-at-point)))
- (unless (string-match-p (regexp-quote "Minibuf") (current-buffer))
+ (unless (string-match-p (regexp-quote "Minibuf") (buffer-name (current-buffer)))
(unless (string= org-roam-ui--ws-current-node node)
(setq org-roam-ui--ws-current-node node)
(websocket-send-text oru-ws (json-encode `((type . "command") (data . ((commandName . "follow") (id . ,node))))))))))