[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master b439b3b: (hfy-fontify-buffer): Inhibit read only
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master b439b3b: (hfy-fontify-buffer): Inhibit read only |
Date: |
Sun, 23 Jun 2019 14:12:50 -0400 (EDT) |
branch: master
commit b439b3bb5a44bc61cec3f5c8e3e3ea37760dfb29
Author: Michael Brumlow <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
(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
---
lisp/htmlfontify.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el
index f37a76c..c7414a2 100644
--- a/lisp/htmlfontify.el
+++ b/lisp/htmlfontify.el
@@ -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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master b439b3b: (hfy-fontify-buffer): Inhibit read only,
Lars Ingebrigtsen <=