8

How can I turn off the prompt when I try to save the file in Emacs?

I mean every time I do C-xs, emacs always ask "Save file xxx?"

How can I disable this prompt?

1 Answer 1

16

You're looking for the command C-x C-s (keep holding control when you hit the "s"). That doesn't prompt before save.

2
  • 4
    @lydonchandra- C-x s (what you had been using) attempts to save all files and buffers while ivarley's recommendation is just for the current file/buffer.
    – Ray
    Jun 16, 2010 at 6:50
  • @RayVega yeah.. C-u C-x s would save all without prompting
    – barlop
    Sep 3, 2013 at 20:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .