all repos — archive/dotfiles @ 29135a8f93d789dbb2b1511e3d1ea0d6c55c1744

Superseded by nixfiles

Emacs: Enable auto-fill-mode in markdown-mode
Alan Pearce alan@alanpearce.co.uk
Thu, 14 Aug 2014 19:53:44 +0100
commit

29135a8f93d789dbb2b1511e3d1ea0d6c55c1744

parent

d09f8ce923755a57bdf5aa8b65204202be49c517

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

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -994,6 +994,11 @@ (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))