How can I hide the backup files that emacs creates?

前端 未结 4 1037
野趣味
野趣味 2021-02-05 13:20

I just started using emacs after having used vi for a long time. :)

One thing which is annoying me is that whenever I modify a file, save it and exit emacs, I see a back

4条回答
  •  北荒
    北荒 (楼主)
    2021-02-05 13:35

    In your .emacs:

    (setq make-backup-files nil)
    

    Edit: If you're unfamiliar with the .emacs file, it's a file named .emacs that resides in your user $HOME directory. If you don't have one already, you can just create it and emacs will load it on startup.

提交回复
热议问题