From b005e99d8d987a68f1b51f078f4a9fc7719a22ff Mon Sep 17 00:00:00 2001 From: jao Date: Wed, 1 Oct 2025 17:24:09 +0100 Subject: gnus for mac --- custom/jao-custom-eww.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'custom/jao-custom-eww.el') diff --git a/custom/jao-custom-eww.el b/custom/jao-custom-eww.el index beeb97e..c388437 100644 --- a/custom/jao-custom-eww.el +++ b/custom/jao-custom-eww.el @@ -24,9 +24,10 @@ ;;; multipart html renderer (defun jao-shr-html-renderer (handle) - (let ((fill-column nil) - (shr-width 150) - (shr-max-width 150)) + (let* ((w (min 150 (- (window-width) 10))) + (fill-column nil) + (shr-width w) + (shr-max-width w)) (mm-shr handle))) (setq mm-text-html-renderer #'jao-shr-html-renderer) -- cgit v1.2.3