]> code.delx.au - gnu-emacs/blobdiff - lisp/type-break.el
Use locate-user-emacs-file.
[gnu-emacs] / lisp / type-break.el
index 212ac392e01914c92ae16ae7b11c4c18c9eb15b4..3ddf2e2d20a5fd942d40e780a2a58dc47d217c75 100644 (file)
@@ -204,11 +204,11 @@ key is pressed."
   :type 'boolean
   :group 'type-break)
 
-(defcustom type-break-file-name (convert-standard-filename "~/.type-break")
+(defcustom type-break-file-name
+  (locate-user-emacs-file "type-break" ".type-break")
   "Name of file used to save state across sessions.
 If this is nil, no data will be saved across sessions."
-  :type 'file
-  :group 'type-break)
+  :type 'file)
 
 (defvar type-break-post-command-hook '(type-break-check)
   "Hook run indirectly by `post-command-hook' for typing break functions.