How to stop Emacs from automatically editing my boot file?

Emacs edits my .emacs file whenever I use the configuration tool, or when I type a command that is disabled by default. Any automatic editing of my configuration makes me nervous. How can I stop Emacs from editing my .emacs . file?

+6
emacs
source share
1 answer

The first thing to do is to stop this stupid “disconnected command” function from ever doing anything. If you really like this .emacs file, you certainly don't need novice.el , which will be your boss.

 (setq disabled-command-function nil) 

You can configure the customization tool to populate all your settings in a separate file with the following commands.

 (setq custom-file "~/.emacs-custom.el") (load custom-file 'noerror) 
+12
source share

All Articles