Folding changes and narrow-to-region enabled

This commit is contained in:
Tom Willemsen 2011-04-14 15:38:54 +02:00
parent 2173039ef6
commit 93ba50adaf
2 changed files with 2 additions and 15 deletions

1
emacs
View file

@ -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)

View file

@ -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)))
;;}}}
;;}}}