From 8f3042fb71d96d089c96bb524cc565cfed35d56d Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Thu, 22 Jun 2017 18:03:10 +0100 Subject: [PATCH] Emacs: Enable all disabled commands --- .emacs.d/lisp/main.el | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.emacs.d/lisp/main.el b/.emacs.d/lisp/main.el index be10c80b..383d330c 100644 --- a/.emacs.d/lisp/main.el +++ b/.emacs.d/lisp/main.el @@ -44,11 +44,8 @@ ;;; Make questions less annoying. (defalias 'yes-or-no-p 'y-or-n-p) -;;; Allow some protected functions. -(put 'upcase-region 'disabled nil) -(put 'downcase-region 'disabled nil) -(put 'narrow-to-page 'disabled nil) -(put 'dired-find-alternate-file 'disabled nil) +;;; Enable all disabled commands. +(setq disabled-command-function nil) ;;; Print column number in mode line. (column-number-mode 1)