[Top][All Lists]

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

Re: [ENHANCEMENT] Make `org-babel-do-in-edit-buffer' environment detecta

From: Ihor Radchenko
Subject: Re: [ENHANCEMENT] Make `org-babel-do-in-edit-buffer' environment detectable
Date: Fri, 10 Mar 2023 11:01:45 +0000

"Farblos" <AKFKQU.9DF7RP@vodafonemail.de> writes:

> For this and similar use cases (run/do not run some major mode hook only in 
> Org source environment), it would be helpful to have a documented dynamic 
> variable (`org-in-babel-environment'?) set by `org-babel-do-in-edit-buffer' 
> or the like that one could query as 

We have org-edit-prep:lang functions that do initial setup in individual
languages. However, they will be applied both when you call
`org-babel-do-in-edit-buffer' and in C-c '.

Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

reply via email to

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