From 7a98af7e942ea7260dbe72abf104f9aef20c4f20 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 14 Jun 2014 19:11:16 +0100 Subject: Emacs: enable autopair in yaml and text modes --- tag-emacs/emacs.d/init.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index ebf4023..3a17058 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -780,6 +780,8 @@ autopair-on) :init (progn (add-hook 'prog-mode-hook #'autopair-on) + (add-hook 'text-mode-hook #'autopair-on) + (add-hook 'yaml-mode-hook #'autopair-on) (defun autopair-off () (autopair-mode -1)) (add-hook 'web-mode-hook #'autopair-off) -- cgit 1.4.1