Start org-mode and latex-mode with auto-fill-mode

This commit is contained in:
Wojciech Kozlowski 2019-07-24 10:12:00 +02:00
parent 70f359f59f
commit 2b32f9b282
2 changed files with 8 additions and 0 deletions

View File

@ -61,6 +61,12 @@
(use-package dockerfile-mode (use-package dockerfile-mode
:defer t) :defer t)
;; --------------------------------------------------------------------------
;; LaTeX.
;; --------------------------------------------------------------------------
(add-hook 'latex-mode-hook 'auto-fill-mode)
;; -------------------------------------------------------------------------- ;; --------------------------------------------------------------------------
;; Makefile settings. ;; Makefile settings.
;; -------------------------------------------------------------------------- ;; --------------------------------------------------------------------------

View File

@ -31,6 +31,8 @@
"Initialise the `org' module." "Initialise the `org' module."
(use-package org (use-package org
:hook
(org-mode . auto-fill-mode)
:bind :bind
(("C-c a" . org-agenda) (("C-c a" . org-agenda)
("C-c b" . org-switchb) ("C-c b" . org-switchb)