diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-07-29 09:25:18 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-07-29 09:25:18 +0200 |
commit | c1ed467b2649bf2c99fea762efcc6684893da6d9 (patch) | |
tree | 57c08b7280742245fab561aad8711f45e43a1cf2 /org-roam-ui.el | |
parent | bf109b6dc016eb386fe86cbde9578734bcb6c99d (diff) |
buffer NAME
Diffstat (limited to 'org-roam-ui.el')
-rw-r--r-- | org-roam-ui.el | 2 |
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)))))))))) |