(hfy-fontify-buffer): Inhibit read only
* lisp/htmlfontify.el (hfy-fontify-buffer): Inhibit read only to enable the function to work with text that comes from buffers that put read-only text properties on things (bug#35025). Copyright-paperwork-exempt: yes
This commit is contained in:
parent
4e0cefcf2a
commit
b439b3bb5a
1 changed files with 2 additions and 1 deletions
|
|
@ -1651,7 +1651,8 @@ The default handler is `hfy-end-span'.")
|
|||
SRCDIR, if set, is the directory being htmlfontified.
|
||||
FILE, if set, is the file name."
|
||||
(if srcdir (setq srcdir (directory-file-name srcdir)))
|
||||
(let* ( (html-buffer (hfy-buffer))
|
||||
(let* ( (inhibit-read-only t)
|
||||
(html-buffer (hfy-buffer))
|
||||
(css-sheet nil)
|
||||
(css-map nil)
|
||||
(invis-ranges nil)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue