From f6768ef17d4e0ec8796a807b9d75ad3fa7af0874 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Thu, 23 Feb 2012 18:22:18 +0200 Subject: [PATCH] enabled a couple of useful commands by default --- modules/prelude-editor.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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)