开发者

Is there a way to turn off xemacs auto backup files in a specific directory only?

开发者 https://www.devze.com 2023-02-06 16:13 出处:网络
XEmacs always creates a file named foo.txt~ when you edit foo.txt. This can be really useful but not really when you are using source control on your files.

XEmacs always creates a file named foo.txt~ when you edit foo.txt. This can be really useful but not really when you are using source control on your files.

I know you can use (setq make-backup-files 开发者_开发技巧nil) to turn it off altogether but was wondering if there was a way to turn it off only in particular directories.


The version control package will detect if you're in a CVS, RCS, or SCCS repository and disable backups. If you're using another VC backend like hg, git, or svn, you may need to install additional packages to enable emacs to detect their repositories.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号