From 121163d149aa4b70c90097a30314e808384cd35a Mon Sep 17 00:00:00 2001 From: Juergen Hoetzel Date: Tue, 30 Jan 2024 21:58:29 +0100 Subject: [PATCH] Use the more specific 'file type for file-based custom variables --- pomm.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pomm.el b/pomm.el index 14d0cf2..c2b6470 100644 --- a/pomm.el +++ b/pomm.el @@ -103,7 +103,7 @@ (locate-user-emacs-file "pomm") "Location of the pomm state file." :group 'pomm - :type 'string) + :type 'file) (defcustom pomm-history-reset-hour 0 "An hour on which the history will be reset. @@ -135,7 +135,7 @@ of period. The format is as follows: - iteration - context" :group 'pomm - :type 'string) + :type '(choice file (const nil))) (defcustom pomm-csv-history-file-timestamp-format "%s" "Timestamp format in the csv file.