nobiot/md-roam

(investigate) Org-roam has functions to handle title change

nobiot opened this issue · 2 comments

See how this behaves, and if appropriate, consider adapting it to Md-roam.

(defcustom org-roam-title-change-hook '(org-roam--update-file-name-on-title-change
                                        org-roam--update-links-on-title-change)

(defcustom org-roam-title-change-hook '(org-roam--update-file-name-on-title-change
org-roam--update-links-on-title-change)

to

(defcustom org-roam-title-change-hook '(org-roam--update-links-on-title-change
md-roam--update-title-ref-on-title-change))

There is a variable org-roam-rename-file-on-title-change that controls the first default function -- I guess I can remove the function from the custom anyway.

Not relevant for V2