From 950b0fbecf471cfa3a0d085222c3ba81404f5269 Mon Sep 17 00:00:00 2001 From: Peng Li Date: Fri, 11 Nov 2016 17:17:27 +0800 Subject: [PATCH] emacs - fix artist-mode mapping issue --- emacs.d/config.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/emacs.d/config.org b/emacs.d/config.org index 7315e37..06c90d8 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -792,7 +792,10 @@ Always indents header, and hide header leading starts so that no need type =#+ST (error nil))) ;; ditaa artist mode - (define-key artist-mode-map [down-mouse-3] 'artist-mouse-choose-operation) + (add-hook 'artist-mode-hook (lambda () + (interactive) + (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