diff --git a/modules/prelude-editor.el b/modules/prelude-editor.el index 22a2890..c9c0b31 100644 --- a/modules/prelude-editor.el +++ b/modules/prelude-editor.el @@ -158,8 +158,14 @@ (add-hook 'message-mode-hook 'prelude-turn-on-flyspell) (add-hook 'text-mode-hook 'prelude-turn-on-flyspell) -;; enable narrow to region +;; enable narrowing commands (put 'narrow-to-region 'disabled nil) +(put 'narrow-to-page 'disabled nil) +(put 'narrow-to-defun 'disabled nil) + +;; enabled change region case commands +(put 'upcase-region 'disabled nil) +(put 'downcase-region 'disabled nil) (require 'expand-region) (global-set-key (kbd "C-@") 'er/expand-region)