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 877a4d6..183902f 100644
--- a/org-roam-ui.el
+++ b/org-roam-ui.el
@@ -268,7 +268,7 @@ The padding around the nodes in the viewport."
(defun orui-toggle-following ()
"Set whether ORUI should follow your every move in emacs. Default yes."
(interactive)
- (if (member #'org-roam-ui--update-current-node post-command-hook)
+ (if (member #'org-roam-ui--update-current-node (default-value 'post-command-hook))
(progn
(remove-hook 'post-command-hook #'org-roam-ui--update-current-node)
(message "Org-Roam-UI will now leave you alone.")