From: Peng Li Date: Mon, 14 Nov 2016 03:29:57 +0000 (+0800) Subject: emacs - ditaa mode mapping X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;ds=sidebyside;h=2b2dd44e85f9e47095237ba0efc8997a580eea4c;p=dotfiles.git emacs - ditaa mode mapping --- 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]]