Question

Some Emacs package I use has turned off the find-file confirmation for choosing a new non-existing file that matches parts of existing file-names shown during completion. I want this confirmation back to the default. What customization option regulates this behaviour?

Example:

  • M-x find-file
  • Enter letter a
  • Pressing TAB now gives two candidates: a1 and a2
  • Just pressing Return should now query me to confirm through an extra Return. Indicated by a [Confirm] at the end of the minibuffer.
Was it helpful?

Solution

check the value of the variable confirm-nonexistent-file-or-buffer

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top