nobiot / md-roam

Use Org-roam with markdown files by adding Md-roam as a plug-in. Mix org and markdown files in a single Org-roam database.
GNU General Public License v3.0
333 stars 15 forks source link

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

Closed nobiot closed 2 years ago

nobiot commented 4 years ago

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)
nobiot commented 4 years ago

(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.

nobiot commented 2 years ago

Not relevant for V2