mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
(fix): remove save-buffer on id creation (#1018)
This can trigger a lot of hooks, which may not be desirable.
This commit is contained in:
@ -1225,9 +1225,7 @@ If there is no corresponding headline, return nil."
|
||||
(goto-char marker)
|
||||
(cons marker
|
||||
(when org-roam-auto-replace-fuzzy-links
|
||||
(let ((id (org-id-get-create)))
|
||||
(save-buffer)
|
||||
id))))))))
|
||||
(org-id-get-create))))))))
|
||||
|
||||
(defun org-roam--get-fuzzy-link-location (link)
|
||||
"Return the location of Org-roam fuzzy LINK.
|
||||
|
Reference in New Issue
Block a user