Enable all disabled commands permanently

I want to include all disabled commands in Emacs, such as downcase-region - that is, when they are called, they do not ask for confirmation from the user. Unfortunately, the โ€œ48.3.11 Disabling Commandsโ€ section of the Emacs manual says nothing about permanently disabling all disabled commands.

Emacs Version: 24.0.95.1

+7
source share
2 answers

As written in EmacsWiki , you can add (setq disabled-command-function nil) to your initialization file to include all disabled commands:

+15
source

Copy this elisp to your ~/.emacs :

 (put 'set-goal-column 'disabled nil) (put 'narrow-to-region 'disabled nil) (put 'upcase-region 'disabled nil) (put 'downcase-region 'disabled nil) (put 'scroll-left 'disabled nil) (put 'erase-buffer 'disabled nil) 
+1
source

All Articles