dotfiles/editors/emacs/bjeanes/programming.el

12 lines
329 B
EmacsLisp
Raw Normal View History

(add-hook 'prog-mode-hook
(lambda ()
(flyspell-prog-mode)
(whitespace-mode +1)
2012-10-24 01:17:57 +11:00
(require 'autopair)
(autopair-mode 1)
;; TODO: Look into whitespace-cleanup instead?
(add-hook 'before-save-hook
'delete-trailing-whitespace)))