2

Whenever I c-x c-f, emacs adds the current word at the cursor point to the c-x c-f.

I believe this is probably due to ido.

How can I turn this off?

tobeannounced
  • 1,999
  • 1
  • 20
  • 30
  • Need more information. It is definitely something in your .emacs, but a simple `(require 'ido)` isn't enough to cause the behavior you're seeing... What does `C-h k C-x C-f` tell you is bound to that key binding? – Trey Jackson Mar 05 '11 at 03:43
  • Sorry, forgot to mention that I use eschulte's emacs-starter-kit and that it isn't just c-x c-f that does this, ido just adds the current word at pointer to its autocompletion for me. – tobeannounced Mar 05 '11 at 03:50

1 Answers1

5

It's an ido option that's usually not activated by default. It can be turned off with this line:

(setq ido-use-filename-at-point nil)
Rörd
  • 6,556
  • 21
  • 27