From 3189e2389e5e52ec4a17bb8aa0aa81437fca89b5 Mon Sep 17 00:00:00 2001 From: Peng Li Date: Fri, 19 May 2017 21:57:19 +0800 Subject: [PATCH] emacs - turn auto fill mode --- emacs.d/config.org | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs.d/config.org b/emacs.d/config.org index bf8028e..38c6e74 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -150,6 +150,9 @@ Check out [[http://tapoueh.org/emacs/el-get.html][el-get]]. ;; only highlight selected window (setq hl-line-sticky-flag nil) + + (setq-default fill-column 120) + (add-hook 'text-mode-hook 'turn-on-auto-fill) #+END_SRC ** Smart Comments -- 2.11.0