From 2b2dd44e85f9e47095237ba0efc8997a580eea4c Mon Sep 17 00:00:00 2001 From: Peng Li Date: Mon, 14 Nov 2016 11:29:57 +0800 Subject: [PATCH] emacs - ditaa mode mapping --- emacs.d/config.org | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/emacs.d/config.org b/emacs.d/config.org index 06c90d8..7eff6df 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -792,10 +792,8 @@ Always indents header, and hide header leading starts so that no need type =#+ST (error nil))) ;; ditaa artist mode - (add-hook 'artist-mode-hook (lambda () - (interactive) - (define-key artist-mode-map [down-mouse-3] 'artist-mouse-choose-operation))) - + (with-eval-after-load "artist" + (define-key artist-mode-map [down-mouse-3] 'artist-mouse-choose-operation)) #+END_SRC *** plantUML [[http://eschulte.github.io/babel-dev/DONE-integrate-plantuml-support.html][DONE-integrate-plantuml-support]] -- 2.11.0