summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emacs1
-rw-r--r--emacs.d/20-folding.el16
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)))
-;;}}}
-
-;;}}}