Permalink
Browse files

Don’t use cc-mode’s electric mode

  • Loading branch information...
1 parent 2c9ea32 commit ca198b83164632077da4f92f3a46376c71905a98 Nikolai Weibull committed May 10, 2012
Showing with 1 addition and 5 deletions.
  1. +1 −5 share/emacs/lisp/rc/progmodes/cc-mode.el
@@ -19,8 +19,4 @@
(setq c-default-style '((java-mode . "java")
(awk-mode . "awk")
(other . "now-c-style")))
- (define-key c-mode-base-map "\C-j" 'c-context-line-break)
- (add-hook 'c-mode-common-hook
- (lambda ()
- (c-toggle-hungry-state 1)
- (c-toggle-auto-newline 1)))))
+ (define-key c-mode-base-map "\C-j" 'c-context-line-break)))

0 comments on commit ca198b8

Please sign in to comment.