]> git.eshelyaron.com Git - emacs.git/commit
Add customization to let EWW guess content-type if needed
authorSebastián Monía <sebastian@sebasmonia.com>
Wed, 9 Oct 2024 03:26:42 +0000 (23:26 -0400)
committerEshel Yaron <me@eshelyaron.com>
Tue, 22 Oct 2024 19:02:46 +0000 (21:02 +0200)
commit400e2f45fdaf14a1aba93ab44485550aec926897
tree6d4b16bbebb4840654ffb89de13fd0bb93d67d1b
parent22a2cceb8730f76c66c248866e389102ea60b030
Add customization to let EWW guess content-type if needed

* lisp/net/eww.el (eww-guess-content-type-functions): New user option.
(eww--guess-content-type, eww--html-if-doctype): New functions.
(eww-render): Call 'eww--guess-content-type' (bug#73133).

(cherry picked from commit 9074a9f496b04ab58588b71f51d7830782fc7a29)
lisp/net/eww.el