[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 27.0.91; Avoid error on org-html-fontify-code
From: |
Kyle Meyer |
Subject: |
Re: 27.0.91; Avoid error on org-html-fontify-code |
Date: |
Fri, 05 Jun 2020 04:33:46 +0000 |
pierre.techoueyres@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.