diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-05-15 06:35:27 +0900 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-05-15 06:35:27 +0900 |
commit | f3e6ff3984f2a5793a1974e6bc7722299750c526 (patch) | |
tree | cb10e7111d9e9d1deaa47ab51b069931842673da | |
parent | 73ab639a6c236ebfee86e984963f0eacfcd6120d (diff) | |
download | dotfiles-f3e6ff3984f2a5793a1974e6bc7722299750c526.tar.gz |
bind new pandoc compile function in markdown mode
-rw-r--r-- | .emacs.d/init.el | 5 |
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 |