summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d/init.el
diff options
context:
space:
mode:
authorAlan Pearce2015-07-11 11:26:50 +0200
committerAlan Pearce2015-07-11 11:26:50 +0200
commit5d76f0e8fdbe8447ca0078d7438a79090bd89430 (patch)
treee07d15707273e9748045c25c0676820f2a8949e7 /tag-emacs/emacs.d/init.el
parent7483dc612cd62d2dcd1b59128a42bee449b542e0 (diff)
downloadnixfiles-5d76f0e8fdbe8447ca0078d7438a79090bd89430.tar.lz
nixfiles-5d76f0e8fdbe8447ca0078d7438a79090bd89430.tar.zst
nixfiles-5d76f0e8fdbe8447ca0078d7438a79090bd89430.zip
Emacs: Enable auto-fill-mode in org
Diffstat (limited to 'tag-emacs/emacs.d/init.el')
-rw-r--r--tag-emacs/emacs.d/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 7ab491e6..d51638dc 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -880,6 +880,7 @@ mouse-1: Display Line and Column Mode Menu"))))))
                                       (sequence "TOLEARN" "LEARNING" "LEARNED" "|" "MASTERED")
                                       (sequence "|" "CANCELLED")))
             (set-register ?o `(file . ,(expand-file-name "organiser.org" org-directory)))
+            (add-hook 'org-mode-hook #'turn-on-auto-fill)
             (defadvice org-clock-in (after wicked activate)
               "Mark STARTED when clocked in"
               (save-excursion