aboutsummaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2013-02-25 11:28:52 -0500
committerRyan Kavanagh <rak@debian.org>2013-02-25 14:44:08 -0500
commit34aea37f04378f26569015b9c7875da3d2c99fc2 (patch)
tree88c99f717a43ca473522783cd1661a0734f46a84 /.emacs
parentUpdate ac-modes to include proper LaTeX mode (diff)
Turn on auto-fill-mode for all text modes
Diffstat (limited to '.emacs')
-rw-r--r--.emacs4
1 files changed, 4 insertions, 0 deletions
diff --git a/.emacs b/.emacs
index e047668..191c0ec 100644
--- a/.emacs
+++ b/.emacs
@@ -16,6 +16,10 @@
(add-to-list 'ac-modes 'Coq-mode)
(add-to-list 'ac-modes 'latex-mode)
+;;;; AUTO FILL
+; We want auto-fill enabled for all text modes
+(add-hook 'text-mode-hook 'turn-on-auto-fill)
+
;;;; AUTO INDENT
(require 'auto-indent-mode)
(auto-indent-global-mode)