summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2015-05-17 18:16:25 +0900
committerSean Whitton <spwhitton@spwhitton.name>2015-05-17 18:16:25 +0900
commit937c616b3265e3dd38c39cd10b966e0171d4ed7d (patch)
tree923afedfbd72484506cb234759613616d1826203
parentb2a9badd7363a3a687b5c0d2ddf8892db2909a52 (diff)
downloaddotfiles-937c616b3265e3dd38c39cd10b966e0171d4ed7d.tar.gz
fix markdown-mode binding (autoload issue)
-rw-r--r--.emacs.d/init.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 56e6d972..a03816f2 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -531,13 +531,12 @@
(use-package markdown-mode
:ensure
+ :mode "\\.md"
:init (progn
(add-hook 'markdown-mode-hook 'turn-on-orgstruct)
- (add-hook 'markdown-mode-hook 'turn-on-orgstruct++)
-
- ;; This binding replaces a `markdown-export'.
- (bind-key "C-c C-c e" 'spw/pandoc-paper-compile markdown-mode-map))
- :mode "\\.md")
+ (add-hook 'markdown-mode-hook 'turn-on-orgstruct++))
+ ;; This binding replaces a `markdown-export'.
+ :config (bind-key "C-c C-c e" 'spw/pandoc-paper-compile markdown-mode-map))
;;; PHP mode