[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-edit-src-code outside of org

From: Jorge A. Alfaro-Murillo
Subject: Re: [O] org-edit-src-code outside of org
Date: Sat, 17 May 2014 02:33:20 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

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"
       (define-key message-mode-map (kbd "<tab>")
         (lambda ()
           (if (not (org-try-structure-completion))
       (define-key message-mode-map (kbd "C-c '")
         (lambda ()
           (setq-local org-edit-src-from-org-mode t)))))

I just used it right now =)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]