mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
(save-completions-file-name): Use user-emacs-directory.
This commit is contained in:
parent
f7c94f4304
commit
0e8a0445d2
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue