Permalink
Browse files

setup autopair for textmate niceness when not in lisp mode

  • Loading branch information...
1 parent d5520e6 commit bb3c1f1e62dea47a38e1e2337d1be7ecc45f1ce8 @schickm committed Jun 3, 2011
Showing with 13 additions and 1 deletion.
  1. +3 −0 .gitmodules
  2. +1 −0 autopair
  3. +8 −1 init.el
  4. +1 −0 site-lisp/autopair.el
View
@@ -12,3 +12,6 @@
[submodule "django-mode"]
path = django-mode
url = git@github.com:schickm/django-mode.git
+[submodule "autopair"]
+ path = autopair
+ url = git@github.com:schickm/autopair.git
Submodule autopair added at c467d9
View
@@ -1,5 +1,4 @@
-
;;;
;;; interface/general emacs stuff
;;;
@@ -77,6 +76,14 @@
;;;
+;;; autopair
+;;;
+
+(require 'autopair)
+(autopair-global-mode) ;; enable autopair in all buffers
+(add-hook 'lisp-mode-hook (lambda () (setq autopair-dont-activate t)))
+
+;;;
;;; flymake
;;;
View

0 comments on commit bb3c1f1

Please sign in to comment.