mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
(fix): save current position in mark ring before id-open (#1217)
This commit is contained in:
@ -1083,6 +1083,7 @@ When STRICT is non-nil, only consider Org-roam’s database."
|
||||
(when-let ((marker (if (markerp id-or-marker)
|
||||
id-or-marker
|
||||
(org-roam-id-find id-or-marker t strict t))))
|
||||
(org-mark-ring-push)
|
||||
(org-goto-marker-or-bmk marker)
|
||||
(set-marker marker nil)))
|
||||
|
||||
|
Reference in New Issue
Block a user