diff options
Diffstat (limited to 'lib/net')
-rw-r--r-- | lib/net/jao-notmuch.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/net/jao-notmuch.el b/lib/net/jao-notmuch.el index 854d458..8ed14dc 100644 --- a/lib/net/jao-notmuch.el +++ b/lib/net/jao-notmuch.el @@ -98,7 +98,7 @@ (while (setq pos (next-single-property-change pos 'w3m-href-anchor)) (when-let ((url (get-text-property pos 'w3m-href-anchor))) (when (stringp url) (cl-pushnew url res :test #'string=)))) - res))) + (seq-uniq res #'string=)))) (defun jao-notmuch-browse-urls (&optional external) (interactive "P") @@ -169,7 +169,9 @@ (condition-case nil (mm-inline-text-html-render-with-w3m handle) (error (delete-region (point) (point-max)) - (mm-shr handle))))) + (let ((shr-use-fonts nil) + (shr-use-colors nil)) + (mm-shr handle)))))) (setq mm-text-html-renderer #'jao-w3m-gnus-html-renderer) |