Created
September 23, 2013 01:27
-
-
Save ajchemist/6665535 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Associate code edit buffer with babel comint session, if one exists. | |
author Dan Davison <davison@stats.ox.ac.uk> | |
Tue, 17 Aug 2010 00:55:24 +0000 (20:55 -0400) | |
committer Dan Davison <davison@stats.ox.ac.uk> | |
Tue, 17 Aug 2010 21:32:23 +0000 (17:32 -0400) | |
* org-src.el (org-edit-src-code): If at src block, store babel | |
info as buffer local variable. | |
(org-src-associate-babel-session): New function to associate | |
code edit buffer with comint session. Does nothing | |
unless a language-specific function named | |
`org-babel-LANG-associate-session' exists. | |
(org-src-babel-configure-edit-buffer): New function to be | |
called in `org-src-mode-hook'. | |
(org-src-mode-hook): add `org-src-babel-configure-edit-buffer' | |
to hook. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment