summary refs log tree commit diff
path: root/emacs.d/custom/fcuny-org.el
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2020-02-11 08:26:16 -0800
committerFranck Cuny <franck.cuny@gmail.com>2020-02-11 08:26:16 -0800
commit10d0360f9d12e7469f1fca5bd4ea855a4c3eadd6 (patch)
tree98e662fb66454b7d142bd3ebcc862eb8922882fa /emacs.d/custom/fcuny-org.el
parentemacs: don't use smart lines (diff)
downloademacs.d-10d0360f9d12e7469f1fca5bd4ea855a4c3eadd6.tar.gz
org: change some of the hooks.
Let's not force the length of the lines, but instead rely on visual line
mode to wrap them.
Diffstat (limited to '')
-rw-r--r--emacs.d/custom/fcuny-org.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/emacs.d/custom/fcuny-org.el b/emacs.d/custom/fcuny-org.el
index 6841e17..4e5d05e 100644
--- a/emacs.d/custom/fcuny-org.el
+++ b/emacs.d/custom/fcuny-org.el
@@ -6,11 +6,9 @@
 (use-package org
   :ensure t
   :after (dash)
-  :hook ((org-mode              . (lambda () (setq fill-column 120)))
-         (org-mode              . turn-on-auto-fill)
-         (org-mode              . org-indent-mode)
-         (org-capture-mode-hook . delete-other-windows)
-         (org-mode              . org-hide-block-all))
+  :hook ((org-mode . org-indent-mode)
+         (org-mode . visual-line-mode)
+         (org-mode . org-hide-block-all))
   :bind (("C-c c" . org-capture)
          ("C-c a" . org-agenda)
          ("C-c o" . hydra-org-menu/body))