mirror of
https://github.com/org-roam/org-roam
synced 2025-09-28 16:50:58 -05:00
Make after-save hook local
This commit is contained in:
@@ -565,7 +565,7 @@ Valid states are 'visible, 'exists and 'none."
|
|||||||
(unless org-roam-cache-initialized
|
(unless org-roam-cache-initialized
|
||||||
(org-roam--build-cache-async))
|
(org-roam--build-cache-async))
|
||||||
(add-hook 'post-command-hook #'org-roam--maybe-update-buffer nil t)
|
(add-hook 'post-command-hook #'org-roam--maybe-update-buffer nil t)
|
||||||
(add-hook 'after-save-hook #'org-roam--update-cache))
|
(add-hook 'after-save-hook #'org-roam--update-cache nil t))
|
||||||
|
|
||||||
(defun org-roam--disable ()
|
(defun org-roam--disable ()
|
||||||
"Disable org-roam updating for file.
|
"Disable org-roam updating for file.
|
||||||
|
Reference in New Issue
Block a user