summaryrefslogtreecommitdiff
path: root/lisp/ido.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2013-03-11 22:08:21 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2013-03-11 22:08:21 -0400
commit940e5099142a1bb60e76ae2cbd1f47244cb2eb44 (patch)
tree31e8ce32a3bc7f2de7040584db2faab8f35436e3 /lisp/ido.el
parentcc72580827719a5012d4ac703c09f92e721f61de (diff)
downloademacs-940e5099142a1bb60e76ae2cbd1f47244cb2eb44.tar.gz
Use locate-user-emacs-file.
* lisp/type-break.el (type-break-file-name): * lisp/textmodes/remember.el (remember-data-file): * lisp/strokes.el (strokes-file): * lisp/shadowfile.el (shadow-initialize): * lisp/saveplace.el (save-place-file): * lisp/ps-bdf.el (bdf-cache-file): * lisp/progmodes/idlwave.el (idlwave-config-directory): * lisp/net/quickurl.el (quickurl-url-file): * lisp/international/kkc.el (kkc-init-file-name): * lisp/ido.el (ido-save-directory-list-file): * lisp/emulation/viper.el (viper-custom-file-name): * lisp/emulation/vip.el (vip-startup-file): * lisp/calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top): * lisp/calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
Diffstat (limited to 'lisp/ido.el')
-rw-r--r--lisp/ido.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ido.el b/lisp/ido.el
index 066d8276af5..589f44175eb 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -927,7 +927,8 @@ ido is running. Copied from `icomplete-minibuffer-setup-hook'."
:type 'hook
:group 'ido)
-(defcustom ido-save-directory-list-file (convert-standard-filename "~/.ido.last")
+(defcustom ido-save-directory-list-file
+ (locate-user-emacs-file "ido.last" ".ido.last")
"File in which the ido state is saved between invocations.
Variables stored are: `ido-last-directory-list', `ido-work-directory-list',
`ido-work-file-list', and `ido-dir-file-cache'.