mirror of
https://github.com/org-roam/org-roam
synced 2025-08-17 13:33:31 -05:00
(fix)capture: correctly update org-id-locations-file after capture (#2086)
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- [#2086](https://github.com/org-roam/org-roam/pull/2086) capture: correctly update org-id-locations on capture
|
||||||
- [#2082](https://github.com/org-roam/org-roam/pull/2082) buffer: don't destroy window if `org-roam-node-toggle` reuses window
|
- [#2082](https://github.com/org-roam/org-roam/pull/2082) buffer: don't destroy window if `org-roam-node-toggle` reuses window
|
||||||
- [#2080](https://github.com/org-roam/org-roam/pull/2080) dailies: prevent multiple "dailies/" subdir expansions
|
- [#2080](https://github.com/org-roam/org-roam/pull/2080) dailies: prevent multiple "dailies/" subdir expansions
|
||||||
- [#2055](https://github.com/org-roam/org-roam/pull/2055) dailies: removed stray f require, which was causing require and compilation errors
|
- [#2055](https://github.com/org-roam/org-roam/pull/2055) dailies: removed stray f require, which was causing require and compilation errors
|
||||||
|
@@ -714,6 +714,7 @@ the current value of `point'."
|
|||||||
(when (find-buffer-visiting new-file)
|
(when (find-buffer-visiting new-file)
|
||||||
(kill-buffer (find-buffer-visiting new-file)))
|
(kill-buffer (find-buffer-visiting new-file)))
|
||||||
(delete-file new-file))
|
(delete-file new-file))
|
||||||
|
(org-id-add-location (org-roam-capture--get :id) (org-roam-capture--get :new-file))
|
||||||
(when-let* ((finalize (org-roam-capture--get :finalize))
|
(when-let* ((finalize (org-roam-capture--get :finalize))
|
||||||
(org-roam-finalize-fn (intern (concat "org-roam-capture--finalize-"
|
(org-roam-finalize-fn (intern (concat "org-roam-capture--finalize-"
|
||||||
(symbol-name finalize)))))
|
(symbol-name finalize)))))
|
||||||
|
Reference in New Issue
Block a user