legacy-dotfiles/emacs.d/20-folding.el

11 lines
391 B
EmacsLisp
Raw Normal View History

(if (load "folding")
(progn (add-hook 'folding-mode-hook
(lambda ()
(local-set-key [C-tab] 'folding-toggle-show-hide)))
(add-hook 'c-mode-hook
(lambda ()
(folding-mode)))
(add-hook 'emacs-lisp-mode-hook
(lambda ()
(folding-mode)))))