7

I want to enable all disabled commands in Emacs such as downcase-region - that is, when invoked they do not ask confirmation from user. Unfortunately section "48.3.11 Disabling Commands" of Emacs manual says nothing on enabling all disabled commands permanently.

Emacs version: 24.0.95.1

Kai
  • 38,985
  • 14
  • 88
  • 103
Mirzhan Irkegulov
  • 17,660
  • 12
  • 105
  • 166

2 Answers2

15

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

Alex Ott
  • 80,552
  • 8
  • 87
  • 132
1

Copy such elisp into 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)
N.N.
  • 8,336
  • 12
  • 54
  • 94
Julian Qian
  • 696
  • 5
  • 8