27 lines
438 B
EmacsLisp
27 lines
438 B
EmacsLisp
|
;;{{{ 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)))
|
||
|
;;}}}
|
||
|
|
||
|
;;}}}
|
||
|
;;{{{ Hooks
|
||
|
|
||
|
;;{{{ C
|
||
|
(add-hook 'c-mode-hook
|
||
|
(lambda ()
|
||
|
(folding-mode)))
|
||
|
;;}}}
|
||
|
;;{{{ Emacs Lisp
|
||
|
(add-hook 'emacs-lisp-mode-hook
|
||
|
(lambda ()
|
||
|
(folding-mode)))
|
||
|
;;}}}
|
||
|
|
||
|
;;}}}
|