commit 35e9bfc827cd01f27bdb9dc228f3ab0c04e7abe0
parent 01e1a926f28d5414b625fd3992986021139386b1
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 6 May 2014 09:56:24 +0200
enforce 80 column width rule
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
@@ -70,6 +70,10 @@
;; install new packages and init already installed packages
(el-get 'sync my:el-get-packages)
+;; text lines limit to 80 characters
+(setq fill-column 80)
+(add-hook 'text-mode-hook 'turn-on-auto-fill)
+
;; recent files with C-x C-f
(require 'recentf)
(recentf-mode 1)