(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:
parent
f9a903f52d
commit
b2dc9b33f6
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ It uses TITLE and the current timestamp to form a unique title."
|
|||
(if template-key
|
||||
(setq template (cadr (assoc template-key org-roam-templates)))
|
||||
(if (= (length org-roam-templates) 1)
|
||||
(setq template (car org-roam-templates))
|
||||
(setq template (cadar org-roam-templates))
|
||||
(setq template
|
||||
(cadr (assoc (completing-read "Template: " org-roam-templates)
|
||||
org-roam-templates)))))
|
||||
|
|
Loading…
Reference in a new issue