:custom block is not executable format such as (org-babel-confirm-evaluate nil).

whereas (setq org-babel-confirm-evalulate nil) can be excuted via C-x C-e.

Is there a way to execute a :custom block somehow?

Also, it would be convenient to execute :config block manually to see the code I write works as intended without reloading the module from scratch

  • 1
    Although it is not exactly equivalent, you could try using M-x pp-macroexpand-last-sexp, and then only evaluate the parts that more or less correspond to the :custom: and :config values (I think they are forms starting with custom-theme-set-variables and progn). Commented Aug 13, 2023 at 11:11


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.