Fix customize types for special org agenda files

This commit is contained in:
Daniel - 2020-01-05 12:17:50 +01:00
parent 541940d7dc
commit 1f2a3e70d4
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 5 additions and 5 deletions

10
init.el
View File

@ -961,31 +961,31 @@ With given ARG, display files in `db/important-document-path."
(defcustom db/org-default-work-file nil
"Path to default org-mode file at work."
:group 'personal-settings
:type 'string
:type '(choice (const nil) file)
:set #'db/update-org-agenda-files)
(defcustom db/org-default-home-file nil
"Path to default org-mode file at home."
:group 'personal-settings
:type 'string
:type '(choice (const nil) file)
:set #'db/update-org-agenda-files)
(defcustom db/org-default-notes-file nil
"Path to default org-mode file for notes."
:group 'personal-settings
:type 'string
:type '(choice (const nil) file)
:set #'db/update-org-agenda-files)
(defcustom db/org-default-refile-file nil
"Path to default org-mode file for capturing."
:group 'personal-settings
:type 'string
:type '(choice (const nil) file)
:set #'db/update-org-agenda-files)
(defcustom db/org-default-pensieve-file nil
"Path to default org-mode file for private notes."
:group 'personal-settings
:type 'string
:type '(choice (const nil) file)
;; no custom setter, as the pensive file is usually not part of
;; `org-agenda-files
)