diff options
author | jao <jao@gnu.org> | 2025-10-01 17:24:09 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2025-10-01 17:24:09 +0100 |
commit | b005e99d8d987a68f1b51f078f4a9fc7719a22ff (patch) | |
tree | 224f0b88f814dd8a2d494c29b58094dd5b0d41e9 /custom/jao-custom-eww.el | |
parent | 3e96ae1ade23eee42b63ed047682b7cbf430f7d8 (diff) | |
download | elibs-b005e99d8d987a68f1b51f078f4a9fc7719a22ff.tar.gz elibs-b005e99d8d987a68f1b51f078f4a9fc7719a22ff.tar.bz2 |
gnus for mac
Diffstat (limited to 'custom/jao-custom-eww.el')
-rw-r--r-- | custom/jao-custom-eww.el | 7 |
1 files changed, 4 insertions, 3 deletions
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) |