dot/emacs, el/dot-emacs.el: Fontification for Pyrex code.
[profile] / dot / emacs
index 35e4f7a..9e1f688 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
 (mapcar (lambda (hook) (add-hook hook 'mdw-misc-mode-config))
        '(c-mode-hook c++-mode-hook objc-mode-hook java-mode-hook
          csharp-mode-hook perl-mode-hook cperl-mode-hook
-         python-mode-hook icon-mode-hook awk-mode-hook tcl-mode-hook
+         python-mode-hook pyrec-mode-hook icon-mode-hook awk-mode-hook
+         tcl-mode-hook
          asm-mode-hook TeX-mode-hook LaTeX-mode-hook
          TeXinfo-mode-hook tex-mode-hook latex-mode-hook
          texinfo-mode-hook emacs-lisp-mode-hook scheme-mode-hook
 
 (setq-default py-indent-offset 2)
 (add-hook 'python-mode-hook 'mdw-fontify-python t)
+(add-hook 'pyrex-mode-hook 'mdw-fontify-pyrex t)
 (setq py-python-command-args `("-i" "-colors" ,(if mdw-black-background
                                                   "Linux"
                                                 "LightBG")))