diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-07-29 18:12:35 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-07-29 18:12:35 +0200 |
commit | 22f6ecfc21b3899a832e1c24b8c40f41f09e9d25 (patch) | |
tree | 82cf26ac4c28a9772489a8279fd08756d3444329 /org-roam-ui.el | |
parent | 3713d30353a21e370011e8667a4e7a4c04bcb471 (diff) |
added proper toggle for following
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 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.") |