summary refs log tree commit diff stats
path: root/emacs/init.el
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/init.el
parent314c9708d77bf367b775bf71be374faa690bcb1f (diff)
downloadnixfiles-94ab675f400ca76e1c45376393bcf974579caacb.tar.lz
nixfiles-94ab675f400ca76e1c45376393bcf974579caacb.tar.zst
nixfiles-94ab675f400ca76e1c45376393bcf974579caacb.zip
Emacs: save ido state file in emacs directory
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index d142da47..f15386fe 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)