got rid of autopair in favour of electric-pair-mode, and also enabled the other electric-* modes that are new to Emacs 24.x

This commit is contained in:
2012-02-10 00:37:54 +00:00
parent 748fce6419
commit 224ff807de
2 changed files with 5 additions and 1 deletions

View File

@@ -1,6 +1,11 @@
;; Default tab-width of 2 spaces
(setq-default tab-width 2)
;; Electric behavior
(electric-pair-mode t)
(electric-indent-mode t)
(electric-layout-mode t)
;; Always indent with spaces
(setq-default indent-tabs-mode nil)

View File

@@ -115,7 +115,6 @@
(append
'(auto-complete
auto-complete-emacs-lisp
autopair
coffee-mode
color-theme-tomorrow
ecb