chiark
/
gitweb
/
~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dot-emacs: Don't electrically indent on `*' or `/'.
[profile]
/
dot-emacs.el
diff --git
a/dot-emacs.el
b/dot-emacs.el
index e8372726a20e1dee485a061e5c94ea26dbad70d1..fbb8e06b248f100582d56e53bd0be8d7c0010a08 100644
(file)
--- a/
dot-emacs.el
+++ b/
dot-emacs.el
@@
-726,6
+726,9
@@
(defun linux-c-mode ()
;; --- Make C indentation nice ---
+(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)