diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-09-21 18:59:29 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-09-21 18:59:29 +0200 |
commit | dcfedf0e83295e680d2b6c444b2bca9f95835334 (patch) | |
tree | d7fa518bcda8e25e38663035b10522fcc096366e /org-roam-ui.el | |
parent | cd1aefd56f648d32a25aae672ac1ab90893c0133 (diff) | |
parent | 4b622628a2701b5cf80235f0d8fd6785d8d342ba (diff) |
Merge pull request #88 from AloisJanicek/indirect-buffer-fix
fix: make follow-mode work with indirect buffers
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 45849b7..f52d126 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) |