Commit 0e8a0445 authored by Chong Yidong's avatar Chong Yidong
Browse files

(save-completions-file-name): Use user-emacs-directory.

parent f7c94f43
......@@ -301,9 +301,9 @@ See also `save-completions-retention-time'."
(let ((olddef (convert-standard-filename "~/.completions")))
(cond
((file-readable-p olddef) olddef)
((file-directory-p (convert-standard-filename "~/.emacs.d/"))
((file-directory-p user-emacs-directory)
(convert-standard-filename
(expand-file-name "completions" "~/.emacs.d/")))
(expand-file-name "completions" user-emacs-directory)))
(t olddef)))
"The filename to save completions to."
:type 'file
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment