summary refs log tree commit diff
path: root/emacs.d/config/fcuny-markdown.el
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2018-06-29 14:49:44 -0700
committerFranck Cuny <franck.cuny@gmail.com>2018-06-29 14:50:43 -0700
commitc0368d8e65fd15a1f48de6a01adcb8ec786a72a0 (patch)
treec1dc339235ff11476bec01c36b57bd158314fa6a /emacs.d/config/fcuny-markdown.el
parent[emacs] Move back some configs to init.el (diff)
downloademacs.d-c0368d8e65fd15a1f48de6a01adcb8ec786a72a0.tar.gz
[emacs] Massive rewrite
Diffstat (limited to '')
-rw-r--r--emacs.d/config/fcuny-markdown.el (renamed from emacs.d/modules/module-markdown.el)9
1 files changed, 6 insertions, 3 deletions
diff --git a/emacs.d/modules/module-markdown.el b/emacs.d/config/fcuny-markdown.el
index af34933..7387a0d 100644
--- a/emacs.d/modules/module-markdown.el
+++ b/emacs.d/config/fcuny-markdown.el
@@ -1,10 +1,13 @@
+(eval-when-compile
+  (require 'use-package))
+
 (use-package markdown-mode
-  :commands (markdown-mode gfm-mode)
-  :mode (("\\.md\\'"       . gfm-mode)
+  :ensure t
+  :mode (("\\.md\\'" . gfm-mode)
          ("\\.markdown\\'" . gfm-mode))
   :init (setq markdown-command "pandoc -f markdown_github -c https://goo.gl/OVmlwT --self-contained"
               markdown-header-scaling 't)
   :config
   (add-hook 'gfm-mode-hook 'visual-line-mode))
 
-(provide 'module-markdown)
+(provide 'fcuny-markdown)