Merge pull request #12 from juergenhoetzel/file-defcustom

Use the more specific 'file type for file-based custom variables
This commit is contained in:
Pavel Korytov 2024-01-31 00:26:09 +03:00 committed by GitHub
commit a95343f643
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,7 +103,7 @@
(locate-user-emacs-file "pomm") (locate-user-emacs-file "pomm")
"Location of the pomm state file." "Location of the pomm state file."
:group 'pomm :group 'pomm
:type 'string) :type 'file)
(defcustom pomm-history-reset-hour 0 (defcustom pomm-history-reset-hour 0
"An hour on which the history will be reset. "An hour on which the history will be reset.
@ -135,7 +135,7 @@ of period. The format is as follows:
- iteration - iteration
- context" - context"
:group 'pomm :group 'pomm
:type 'string) :type '(choice file (const nil)))
(defcustom pomm-csv-history-file-timestamp-format "%s" (defcustom pomm-csv-history-file-timestamp-format "%s"
"Timestamp format in the csv file. "Timestamp format in the csv file.