(internal): remove unnecessary variables (#1244)

For captures, enforce that `:file-name` needs to be specified, and
`:head` when not provided defaults to the empty string (i.e. no head)
This commit is contained in:
Jethro Kuan
2020-11-10 23:58:16 +08:00
committed by GitHub
parent 4f6eb285bf
commit 023bcce867
2 changed files with 10 additions and 57 deletions

View File

@ -47,12 +47,6 @@
(declare-function org-roam--find-file "org-roam")
(declare-function org-roam-mode "org-roam")
(defvar org-roam-dailies-capture--file-name-default "%<%Y-%m-%d>"
"The default file-name for `org-roam-dailies-capture-templates'.")
(defvar org-roam-dailies-capture--header-default "#+title: %<%Y-%m-%d>\n"
"The default header for `org-roam-dailies-capture-templates'.")
;;;; Customizable variables
(defcustom org-roam-dailies-directory "daily/"
"Path to daily-notes."