X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/9165ea47616fd15b905ff52508abce5195a0e152..99fe6ef5f1b75f8d040e36e7050ec5623d6318b8:/dot/emacs diff --git a/dot/emacs b/dot/emacs index 35e4f7a..9e1f688 100644 --- a/dot/emacs +++ b/dot/emacs @@ -479,7 +479,8 @@ (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 @@ -567,6 +568,7 @@ (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")))