My Emacs config lives inside of a .org
file from which I tangle source blocks to a .el
file. I could evaluate source blocks with C-c C-c
Today I updated to org-mode version 9 from org elpa and now evaluating a source block like
#+BEGIN_SRC emacs-lisp :tangle yes
(setq org-export-coding-system 'utf-8)
#+END_SRC
with C-c C-c prints the following message
Evaluation of this emacs-lisp code-blockis disabled.
In my init.el
I have already defined the languages for org-babel:
(org-babel-do-load-languages
'org-babel-load-languages
'((emacs-lisp . t)
(org . t)
(sh . t)))
If I load the stock Emacs version of org-mode I can tangle with C-c C-c as expected. I could not find any changes regarding this in the changelog for org-mode 9.
How to enable evaluation of code-blocks in org-mode 9?
org-babel-execute-src-block
?.emacs.d/elpa
first), that issue may have been solved already: lists.gnu.org/archive/html/emacs-orgmode/2016-11/msg00054.html