~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
emacs, dot-emacs: Turn on RefTeX.
[profile]
/
dot-emacs.el
diff --git
a/dot-emacs.el
b/dot-emacs.el
index
e837272
..
d94f962
100644
(file)
--- a/
dot-emacs.el
+++ b/
dot-emacs.el
@@
-726,6
+726,11
@@
the regular expressions in `mdw-backup-disable-regexps'."
;; --- Make C indentation nice ---
;; --- 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)
(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)
(defun mdw-fontify-tex ()
(setq ispell-parser 'tex)
+ (turn-on-reftex)
;; --- Don't make maths into a string ---
;; --- Don't make maths into a string ---