有时候你可能会发现emacs会自动生成一些东西,如果不手动删除,它会一直呆在哪里,如果是在某些系统自动调用的目录里面,那么,呵呵,很有可能闯祸哦,有两种方式来对付它:
emacs ~/.emacs
(setq make-backup-files nil)
或者
(setq backup-directory-alist '(("." . "~/.emacs.d/backup"))
backup-by-copying t ; Don't delink hardlinks
version-control t ; Use version numbers on backups
delete-old-versions t ; Automatically delete excess backups
kept-new-versions 20 ; how many of the newest versions to keep
kept-old-versions 5 ; and how many of the old
)
http://stackoverflow.com/questions/2680389/how-to-remove-all-files-ending-with-made-by-emacs