From 16ef1af572a782eb855e9981c98d85884d434599 Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 19 Nov 2021 19:24:29 +0000 Subject: giving shr fonts and colors a try --- email.org | 4 ++-- eww.org | 4 ++-- init.org | 3 --- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/email.org b/email.org index 3a5d889..9d3a278 100644 --- a/email.org +++ b/email.org @@ -247,8 +247,8 @@ (mm-shr handle)))))) (defun jao-shr-html-renderer (handle) - (let ((shr-use-fonts nil) - (shr-use-colors nil) + (let (;; (shr-use-fonts t) + ;; (shr-use-colors t) (fill-column 120)) (mm-shr handle))) diff --git a/eww.org b/eww.org index 6d4348a..e724b8c 100644 --- a/eww.org +++ b/eww.org @@ -115,8 +115,8 @@ #+begin_src emacs-lisp (use-package shr :custom ((shr-width nil) - (shr-use-colors nil) - (shr-use-fonts nil) + (shr-use-colors t) + (shr-use-fonts t) (shr-max-width 130) (shr-blocked-images nil) (shr-inhibit-images t) diff --git a/init.org b/init.org index f7dcde3..a9f1196 100644 --- a/init.org +++ b/init.org @@ -1458,9 +1458,6 @@ #+END_SRC *** Web browsers #+begin_src emacs-lisp - (setq shr-use-fonts nil - shr-use-colors nil) - (defun jao-www--buffer-p (b) (with-current-buffer b (or (derived-mode-p 'w3m-mode 'eww-mode) -- cgit v1.2.3