[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Two low-priority questions re: design of org-babel-do-load-languages
From: |
Mandar Mitra |
Subject: |
Re: Two low-priority questions re: design of org-babel-do-load-languages |
Date: |
Thu, 23 Mar 2023 00:51:49 +0530 |
Ihor Radchenko wrote (Wed, Mar 22, 2023 at 12:55:31PM +0000):
> The function `org-babel-do-load-languages' is originally not a generic
> function. It is specifically designed to be used as a :set function for
> `org-babel-load-languages' variable:
>
> (defcustom org-babel-load-languages '((emacs-lisp . t))
> ...
> :set 'org-babel-do-load-languages
> ...)
>
> If you alter `org-babel-load-languages' via customize interface or via
> `setopt', the :set function is automatically called.
>
> Later, AFAIK, it was also used in the manual as Elisp function.
> Against its original design.
Ok, I understand now. I had missed the
:set 'org-babel-do-load-languages
That itself answered almost all my questions. Thank you very much for the
detailed explanation!
Warm regards,
Mandar.