aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-08-10 14:27:31 +0200
committerGravatar Tom Willemse2016-08-10 14:27:31 +0200
commit35644945f2271b9f600ee03235ad3cac546a4dc6 (patch)
tree94c1af6eba108fc179c0495e89c826bf7de9ef3d /emacs/.emacs.d
parenta2fc1c0c2ce4de2c06a3aa00a9b088e775f8bfef (diff)
downloadnew-dotfiles-35644945f2271b9f600ee03235ad3cac546a4dc6.tar.gz
new-dotfiles-35644945f2271b9f600ee03235ad3cac546a4dc6.zip
Enable auto filling in Org-mode
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r--emacs/.emacs.d/init.org6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 9660cf2..57b0780 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -839,6 +839,12 @@ To start off, first I need to enable lexical binding.
(setq org-src-fontify-natively t))
#+END_SRC
+ Enable automatic text filling for org-mode.
+
+ #+BEGIN_SRC emacs-lisp
+ (add-hook 'org-mode-hook 'auto-fill-mode)
+ #+END_SRC
+
* Custom
Put the customize settings in a different file so that Emacs doesn't