summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2014-08-14 19:53:44 +0100
committerAlan Pearce2014-08-14 19:54:00 +0100
commit29135a8f93d789dbb2b1511e3d1ea0d6c55c1744 (patch)
tree2e6d02e5ac298f77a1cf24f507d07e484e05b95b /tag-emacs
parentd09f8ce923755a57bdf5aa8b65204202be49c517 (diff)
downloaddotfiles-29135a8f93d789dbb2b1511e3d1ea0d6c55c1744.tar.lz
dotfiles-29135a8f93d789dbb2b1511e3d1ea0d6c55c1744.tar.zst
dotfiles-29135a8f93d789dbb2b1511e3d1ea0d6c55c1744.zip
Emacs: Enable auto-fill-mode in markdown-mode
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 37c7924..febe442 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -994,6 +994,11 @@ mouse-1: Display Line and Column Mode Menu"))))))
 (when (boundp 'x-select-request-type)
   (setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING)))
 
+(req-package markdown-mode
+  :defer t
+  :config (progn
+            (add-hook 'markdown-mode-hook #'turn-on-auto-fill)))
+
 (req-package ace-jump-mode
   :bind (("C-c SPC" . ace-jump-mode)
          ("C-|" . ace-jump-line-mode))