mirror of
https://github.com/org-roam/org-roam
synced 2025-08-03 12:27:23 -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)
|
(goto-char marker)
|
||||||
(cons marker
|
(cons marker
|
||||||
(when org-roam-auto-replace-fuzzy-links
|
(when org-roam-auto-replace-fuzzy-links
|
||||||
(let ((id (org-id-get-create)))
|
(org-id-get-create))))))))
|
||||||
(save-buffer)
|
|
||||||
id))))))))
|
|
||||||
|
|
||||||
(defun org-roam--get-fuzzy-link-location (link)
|
(defun org-roam--get-fuzzy-link-location (link)
|
||||||
"Return the location of Org-roam fuzzy LINK.
|
"Return the location of Org-roam fuzzy LINK.
|
||||||
|
Reference in New Issue
Block a user