From 93ba50adafe2de70c16f4ca4b8db86d25bbe7a4f Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Thu, 14 Apr 2011 15:38:54 +0200 Subject: [PATCH] Folding changes and narrow-to-region enabled --- emacs | 1 + emacs.d/20-folding.el | 16 +--------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/emacs b/emacs index 9a418e3..fbdac85 100644 --- a/emacs +++ b/emacs @@ -25,3 +25,4 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) +(put 'narrow-to-region 'disabled nil) diff --git a/emacs.d/20-folding.el b/emacs.d/20-folding.el index 10cbb06..f59c11a 100644 --- a/emacs.d/20-folding.el +++ b/emacs.d/20-folding.el @@ -1,26 +1,12 @@ -;;{{{ Load (autoload 'folding-mode "folding" "Folding mode" t) -;;}}} -;;{{{ Settings -;;{{{ Startup (add-hook 'folding-mode-hook (lambda () - (local-set-key [C-Tab] 'folding-toggle-show-hide))) -;;}}} + (local-set-key [C-tab] 'folding-toggle-show-hide))) -;;}}} -;;{{{ Hooks - -;;{{{ C (add-hook 'c-mode-hook (lambda () (folding-mode))) -;;}}} -;;{{{ Emacs Lisp (add-hook 'emacs-lisp-mode-hook (lambda () (folding-mode))) -;;}}} - -;;}}}