all repos — nixfiles @ 5d76f0e8fdbe8447ca0078d7438a79090bd89430

System and user configuration, managed by nix and home-manager

Emacs: Enable auto-fill-mode in org
Alan Pearce alan@alanpearce.co.uk
Sat, 11 Jul 2015 11:26:50 +0200
commit

5d76f0e8fdbe8447ca0078d7438a79090bd89430

parent

7483dc612cd62d2dcd1b59128a42bee449b542e0

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -880,6 +880,7 @@ org-todo-keywords '((sequence "TODO" "STARTED" "|" "DONE")                                       (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