summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-04-13 18:51:18 -0400
committerKyle Meyer <kyle@kyleam.com>2014-04-13 18:51:18 -0400
commitcd3703f0084d3c4fe609c14d8a5f8ea4d46bf627 (patch)
tree5a77ff2bb15e804b86698a4eeaca96d4faffe255 /lisp
parent0e2bd2322887b9aa953383b80ba2bdef83574c50 (diff)
downloademacs.d-cd3703f0084d3c4fe609c14d8a5f8ea4d46bf627.tar.gz
Don't complete file name at point in dired
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-ido.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/init-ido.el b/lisp/init-ido.el
index d0da97b..ae1c8ea 100644
--- a/lisp/init-ido.el
+++ b/lisp/init-ido.el
@@ -15,6 +15,10 @@
ido-save-directory-list-file "~/.emacs.d/cache/ido.hist"
ido-max-directory-size 100000)
+(add-hook 'dired-mode-hook
+ '(lambda ()
+ (set (make-local-variable 'ido-use-filename-at-point) nil)))
+
(setq ido-file-extensions-order
'(".org" ".txt" ".md" ".rst" ".tex" ".py" ".el" ".hs"))