Prevent Emacs from whining about excess backup versions

This Emacs prompt gets old after awhile:

Delete excess backup versions of SomeCode.php (y or n)

Emacs is trying to preserve space and clean up after itself.  And, always willing to please, it wants to make sure you’re cool with that.  The prompt is nice, but a tad overprotective.

Adding (setq delete-old-versions t) to .emacs will instruct Emacs to silently delete the older backups. This makes toggle testing between the editor and app much more pleasant.  (Or, for that matter, much less painful.)

Oh, and speaking of overprotective.. Remember to always practice safe emacs.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.