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
:defer t)
;; --------------------------------------------------------------------------
;; LaTeX.
;; --------------------------------------------------------------------------
(add-hook 'latex-mode-hook 'auto-fill-mode)
;; --------------------------------------------------------------------------
;; Makefile settings.
;; --------------------------------------------------------------------------

View File

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