From: Peng Li Date: Fri, 19 May 2017 13:57:19 +0000 (+0800) Subject: emacs - turn auto fill mode X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;h=3189e2389e5e52ec4a17bb8aa0aa81437fca89b5;p=dotfiles.git emacs - turn auto fill mode --- 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