More fixes

Signed-off-by: main <magic_rb@redalder.org>
This commit is contained in:
main 2022-12-11 20:43:41 +01:00
parent d22c02c6cc
commit 2402fd67ac
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -195,9 +195,9 @@ Normally a LaTeX preview is just one huge image which makes Emacs really jumpy a
(put-text-property beg end
'display
(list (append image-spec '(:ascent center))))))
(font-lock-fontify-region beg end)
(with-silent-modifications
(put-text-property beg end 'line-height t)
(font-lock-fontify-region beg end)))))
(put-text-property beg end 'line-height t))))
#+end_src