mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-11 16:08:13 +00:00
(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
@ -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…
Reference in New Issue
Block a user