summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2013-08-25 19:32:23 +0100
committerAlan Pearce2013-08-25 19:32:23 +0100
commit94ab675f400ca76e1c45376393bcf974579caacb (patch)
treee20fa0625d6fbff9a225459270ce72dda1dbd776 /emacs
parent314c9708d77bf367b775bf71be374faa690bcb1f (diff)
downloaddotfiles-94ab675f400ca76e1c45376393bcf974579caacb.tar.lz
dotfiles-94ab675f400ca76e1c45376393bcf974579caacb.tar.zst
dotfiles-94ab675f400ca76e1c45376393bcf974579caacb.zip
Emacs: save ido state file in emacs directory
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index d142da4..f15386f 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -529,7 +529,9 @@ Values: `desktop', `server', `laptop'")
             (ido-mode 1)
             (setq ido-decorations (quote ("\n›" "" "\n " "\n …" "[" "]" " [No match]" " [Matched]" " [Not readable]" " [Too big]" " [Confirm]")))
             (setq ido-auto-merge-delay-time 99999
-                  ido-enable-flex-matching t)
+                  ido-enable-flex-matching t
+                  ido-save-directory-list-file (expand-file-name user-emacs-directory
+                                                                 "ido-state"))
             (ido-init-completion-maps)
             (defun ido-manual-merge ()
               (interactive)