diff .elisp/settings/40.modes.el @ 290:7a99481ab888

python-mode: enable flyspell-prog-mode for spellchecking in comments in Python
author Augie Fackler <raf@durin42.com>
date Wed, 17 Oct 2012 08:21:19 -0500
parents 884f7f932a83
children a9e3c2ca6fa5
line wrap: on
line diff
--- a/.elisp/settings/40.modes.el
+++ b/.elisp/settings/40.modes.el
@@ -48,6 +48,7 @@ point."
                                     (local-set-key (kbd "RET")
                                                    'reindent-then-newline-and-indent)))
 (defun af-python-mode-hook ()
+  (flyspell-prog-mode)
   ; highlight tabs in Python
   (make-variable-buffer-local 'font-lock-mode-hook)
   (make-variable-buffer-local 'python-indent)