On 2014-05-17 08:33 Jorge A. Alfaro-Murillo wrote:
> I figure it out, I am updating the variable that causes problems and it
> is working very well so in case you want to use org-edit-src-code in
> Message mode all is needed is:
>
> #+BEGIN_SRC emacs-lisp
>   (eval-after-load "message"
>     '(progn
>        (define-key message-mode-map (kbd "<tab>")
>          (lambda ()
>            (interactive)
>            (if (not (org-try-structure-completion))
>                (message-tab))))
>        (define-key message-mode-map (kbd "C-c '")
>          (lambda ()
>            (interactive)
>            (org-edit-src-code)
>            (setq-local org-edit-src-from-org-mode t)))))
> #+END_SRC
>
> I just used it right now =)

This has been bugging me for quite some time now, thank you very much
for this, it works like it's supposed to! :)

Regards,
-- 
Alexander Baier

Reply via email to