X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/2ded9493dfd97cf3da9b6fab1b9362cc3fde6e40..55f80fae9a56f8f915c1deb305f8c4b2e628665b:/dot-emacs.el diff --git a/dot-emacs.el b/dot-emacs.el index e837272..d94f962 100644 --- a/dot-emacs.el +++ b/dot-emacs.el @@ -726,6 +726,11 @@ the regular expressions in `mdw-backup-disable-regexps'." ;; --- Make C indentation nice --- +(eval-after-load "cc-mode" + '(progn + (define-key c-mode-map "*" nil) + (define-key c-mode-map "/" nil))) + (defun mdw-c-style () (c-add-style "[mdw] C and C++ style" '((c-basic-offset . 2) @@ -1665,6 +1670,7 @@ strip numbers instead." (defun mdw-fontify-tex () (setq ispell-parser 'tex) + (turn-on-reftex) ;; --- Don't make maths into a string ---