mirror of
https://github.com/vale981/pomm.el
synced 2025-03-05 09:41:42 -05:00
Use locate-user-emacs-file
The locate-user-emacs-file function is purpose built to find files like this. I'd consider, as a note, changing the default filename to `pomm-state.el`, however.
This commit is contained in:
parent
081c1c29f6
commit
b00a30f6a4
1 changed files with 1 additions and 1 deletions
2
pomm.el
2
pomm.el
|
@ -87,7 +87,7 @@
|
||||||
:type 'string)
|
:type 'string)
|
||||||
|
|
||||||
(defcustom pomm-state-file-location
|
(defcustom pomm-state-file-location
|
||||||
(concat user-emacs-directory "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 'string)
|
||||||
|
|
Loading…
Add table
Reference in a new issue