pierre.techouey...@gmail.com writes:

> Some time ago I tried to export in html form an org file containing many
> src blocks and ended with the following message :
>
> org-html-do-format-code: Buffer is read-only: #<killed buffer>
>
> After narrowing down my file here are the steps to reproduce :
>
> emacs -q
> (require 'htmlize) ;; this is important else `org-html-fontify-code`
>                    ;; will keep the wrong branch
>
> ;; open the ecm-org-src-ro.org ([1])
> ;; try to export as html

Thanks for narrowing the issue and providing an example to trigger it
(not to mention a patch).

> Subject: [PATCH] ox-html.el: Fix read-only error when export src bloc

Looks good to me.  Applied (c631afd35), with a couple of minor tweaks to
the commit message.

Reply via email to