An annoyed small problem with Emacs
heya, I have a little problem with emacs that everytime I edit some file there will be a backup of that file with the tilde '~'. so usually i need to remove them manually.
anyone knows how to avoid emacs generating such backups? |
(setq make-backup-files nil)
in your .emacs file should do the trick. Not that I recommend this. I make too many mistakes to not keep a backup file around for a while. Periodically run a command like this: ----------------------------------------------------------------------------------------- #! /bin/sh # Go to home directory pushd ~ # Find backup files and deal with them (remove the -i if you are daring) find . -name "*~" -exec rm -i {} ';' # Back to your starting directory popd ------------------------------------------------------------------------------------------- |
thanks Mike
yeah i think you have given a nice idea to get rid of those instant-borning files. should run it everytime but it's much better to my work, thanks
|
All times are GMT -5. The time now is 04:30 PM. |