[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41641: 27.0.91; Avoid error on org-html-fontify-code
From: |
Pierre Téchoueyres |
Subject: |
bug#41641: 27.0.91; Avoid error on org-html-fontify-code |
Date: |
Mon, 01 Jun 2020 12:41:41 +0200 |
User-agent: |
mu4e 1.5.1; emacs 27.0.91 |
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
ecm-org-src-ro.org
Description: ECM export read-only src blocks
;; try to export as html
I've also attached is a patch to fix this.
0001-ox-html.el-Fix-read-only-error-when-export-src-bloc.patch
Description: 0001-ox-html.el-Fix-read-only-error-when-export-src-bloc
Pierre
- bug#41641: 27.0.91; Avoid error on org-html-fontify-code,
Pierre Téchoueyres <=