changeset 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 5fd871a98b5f
children 142fb39e4e55
files .elisp/settings/40.modes.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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)