summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-11-19 19:24:29 +0000
committerjao <jao@gnu.org>2021-11-19 19:24:29 +0000
commit16ef1af572a782eb855e9981c98d85884d434599 (patch)
treefa9e6069bd8c72f260fcb12d47aab165724a106c
parentb8fbdc254e1807685f60e4f3287b003df78a45c7 (diff)
downloadelibs-16ef1af572a782eb855e9981c98d85884d434599.tar.gz
elibs-16ef1af572a782eb855e9981c98d85884d434599.tar.bz2
giving shr fonts and colors a try
-rw-r--r--email.org4
-rw-r--r--eww.org4
-rw-r--r--init.org3
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)