mirror of
https://github.com/org-roam/org-roam
synced 2025-08-17 13:33:31 -05:00
(bugfix): fix new file template default case (#169)
ref #165 Without this change I am getting the error: org-roam--make-new-file: Symbol’s function definition is void: file-name-fn
This commit is contained in:
@@ -261,7 +261,7 @@ It uses TITLE and the current timestamp to form a unique title."
|
|||||||
(if template-key
|
(if template-key
|
||||||
(setq template (cadr (assoc template-key org-roam-templates)))
|
(setq template (cadr (assoc template-key org-roam-templates)))
|
||||||
(if (= (length org-roam-templates) 1)
|
(if (= (length org-roam-templates) 1)
|
||||||
(setq template (car org-roam-templates))
|
(setq template (cadar org-roam-templates))
|
||||||
(setq template
|
(setq template
|
||||||
(cadr (assoc (completing-read "Template: " org-roam-templates)
|
(cadr (assoc (completing-read "Template: " org-roam-templates)
|
||||||
org-roam-templates)))))
|
org-roam-templates)))))
|
||||||
|
Reference in New Issue
Block a user