mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
(minor)db: filename title sans-extension (#1952)
Use the file name without extension when no TITLE is specified.
This commit is contained in:
@ -382,7 +382,8 @@ INFO is the org-element parsed buffer."
|
|||||||
(title (org-link-display-format
|
(title (org-link-display-format
|
||||||
(or (cadr (assoc "TITLE" (org-collect-keywords '("title"))
|
(or (cadr (assoc "TITLE" (org-collect-keywords '("title"))
|
||||||
#'string-equal))
|
#'string-equal))
|
||||||
(file-relative-name file org-roam-directory))))
|
(file-name-sans-extension
|
||||||
|
(file-relative-name file org-roam-directory)))))
|
||||||
(pos (point))
|
(pos (point))
|
||||||
(todo nil)
|
(todo nil)
|
||||||
(priority nil)
|
(priority nil)
|
||||||
|
Reference in New Issue
Block a user