Folding changes and narrow-to-region enabled
This commit is contained in:
parent
2173039ef6
commit
93ba50adaf
2 changed files with 2 additions and 15 deletions
1
emacs
1
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)
|
||||
|
|
|
@ -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)))
|
||||
;;}}}
|
||||
|
||||
;;}}}
|
||||
|
|
Loading…
Reference in a new issue