From c1ed467b2649bf2c99fea762efcc6684893da6d9 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Thu, 29 Jul 2021 09:25:18 +0200 Subject: buffer NAME --- org-roam-ui.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'org-roam-ui.el') 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)))))))))) -- cgit v1.2.3