Here you are : -------------cut-here------------ Debugger entered--Lisp error: (void-variable overlays) htmlize-sorted-overlays-at(1) htmlize-faces-at-point() htmlize-buffer-1() htmlize-region(1 58) org-html-htmlize-region-for-paste(1 58) org-html-fontify-code("int main() {\n printf(\"hello world\\n\");\n return 0;\n}" "c") org-html-do-format-code("int main() {\n printf(\"hello world\\n\");\n return 0;\n}" "c" nil t nil) ..... -------------cut-here------------ It is htmlize-faces-at-point(), and only when the exported org-buffer contains a snippet of code. Otherwise, the export process works fine. Giuseppe Lipari Le dim. 8 avr. 2018 à 20:57, Adonay Felipe Nogueira a écrit : > 2018-04-08T17:00:59+0000 Giuseppe Lipari wrote: > > Symbol's value as variable is void: overlays > > Make sure to get the backtrace, like so: > > --8<---------------cut here---------------start------------->8--- > emacs --batch --eval '(setq debug-on-error t)' -l batch_project.el --kill > --8<---------------cut here---------------end--------------->8--- > > ... this might help us all find where the "overlays" is being called. > >