diff options
author | jao <jao@gnu.org> | 2021-11-03 03:38:53 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-11-03 03:38:53 +0000 |
commit | ee9789c061998abb810974d1a27ef90026db8eba (patch) | |
tree | 6bce095a5f69de54b0d739c2e4b83b7c0d6ebba0 /email.org | |
parent | da63d0e99d1a3dda4457a8e4c285f3a834e26b7c (diff) | |
download | elibs-ee9789c061998abb810974d1a27ef90026db8eba.tar.gz elibs-ee9789c061998abb810974d1a27ef90026db8eba.tar.bz2 |
experimenting with eww as main browser again
Diffstat (limited to 'email.org')
-rw-r--r-- | email.org | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -207,6 +207,21 @@ '((jao-icalendar-import-buffer "application/ics") ("viewpdf.sh %s" "application/pdf"))))) #+end_src +* multipart html renderer + #+begin_src emacs-lisp + + (defun jao-w3m-html-renderer (handle) + (let ((w3m-message-silent t) + (mm-w3m-safe-url-regexp nil)) + (condition-case nil + (mm-inline-text-html-render-with-w3m handle) + (error (delete-region (point) (point-max)) + (let ((shr-use-fonts nil) + (shr-use-colors nil)) + (mm-shr handle)))))) + + ;; (setq mm-text-html-renderer #'jao-w3m-html-renderer) + #+end_src * bbdb #+begin_src emacs-lisp (use-package bbdb |