summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2015-05-15 06:35:27 +0900
committerSean Whitton <spwhitton@spwhitton.name>2015-05-15 06:35:27 +0900
commitf3e6ff3984f2a5793a1974e6bc7722299750c526 (patch)
treecb10e7111d9e9d1deaa47ab51b069931842673da
parent73ab639a6c236ebfee86e984963f0eacfcd6120d (diff)
downloaddotfiles-f3e6ff3984f2a5793a1974e6bc7722299750c526.tar.gz
bind new pandoc compile function in markdown mode
-rw-r--r--.emacs.d/init.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 345ed44d..56e6d972 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -533,7 +533,10 @@
:ensure
:init (progn
(add-hook 'markdown-mode-hook 'turn-on-orgstruct)
- (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")
;;; PHP mode