(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:
parent
4fa966d366
commit
5d02e6407b
1 changed files with 1 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue