At 2018-05-03T15:16:17+01:00, Aaron Ecay wrote:
> In principle, you are correct. However:
>
>> I wonder if something like
>>
>>
>> (defun org-babel-do-load-languages (languages)
>
> If we change the arity of the function in this way, us
At 2018-05-03T21:58:46+02:00, Nicolas Goaziou wrote:
>>In this example, evaluation is disabled for ‘emacs-lisp’, and enabled
>> for ‘R’.
>>
>> (org-babel-do-load-languages
>> '((emacs-lisp . nil)
>> (R . t)))
>
> Language names are not symbols. It should be Emacs Lisp and R.
Hello,
"N. Raghavendra" writes:
> I also suggest a corresponding change in Org(Languages):
>
>
>By default, only ‘emacs-lisp’ is enabled for evaluation. To enable
> or disable other languages, customize the ‘org-babel-load-language
At 2018-05-03T14:07:37+01:00, Aaron Ecay wrote:
> Itʼs an unusual function indeed. Thatʼs because it is used as the :set
> function for the defcustom org-babel-load-languages; see the info
> documentation (info "(elisp) Variable Definitions").
Thank you for explaining. I still think it would be
Hi Raghu,
2018ko maiatzak 3an, "N. Raghavendra"-ek idatzi zuen:
>
> I am puzzled with this definition:
Itʼs an unusual function indeed. Thatʼs because it is used as the :set
function for the defcustom org-babel-load-languages; see the info
documentation (info "(elisp) Variable Definitions").
-
At 2018-05-03T16:49:01+05:30, N. Raghavendra wrote:
> (set-default org-babel-load-languages languages)
I meant `setq-default' there, not `set-default'.
Raghu.
--
N. Raghavendra , http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/
I am puzzled with this definition:
(defun org-babel-do-load-languages (sym value)
"Load the languages defined in `org-babel-load-languages'."
(set-default sym value)
(dolist (pair org-babel-load-languages)
(let ((active (cdr pa