diff options
Diffstat (limited to 'lisp/gnus')
| -rw-r--r-- | lisp/gnus/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/gnus/mm-decode.el | 6 |
2 files changed, 11 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 6b21888c27e..396ad2fd2a6 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2015-02-10 Lars Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * mm-decode.el (mm-shr): Only pass the fill column when not using | ||
| 4 | fonts, because limiting the width to what's appropriate for followups | ||
| 5 | doesn't really help when not using proportional fonts. | ||
| 6 | |||
| 1 | 2015-02-09 Lars Ingebrigtsen <larsi@gnus.org> | 7 | 2015-02-09 Lars Ingebrigtsen <larsi@gnus.org> |
| 2 | 8 | ||
| 3 | * mm-decode.el (mm-convert-shr-links): Don't overwrite the faces from | 9 | * mm-decode.el (mm-convert-shr-links): Don't overwrite the faces from |
diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el index 463d125a2b2..5a8375cf4e6 100644 --- a/lisp/gnus/mm-decode.el +++ b/lisp/gnus/mm-decode.el | |||
| @@ -1815,6 +1815,7 @@ If RECURSIVE, search recursively." | |||
| 1815 | (start end &optional base-url)) | 1815 | (start end &optional base-url)) |
| 1816 | (declare-function shr-insert-document "shr" (dom)) | 1816 | (declare-function shr-insert-document "shr" (dom)) |
| 1817 | (defvar shr-blocked-images) | 1817 | (defvar shr-blocked-images) |
| 1818 | (defvar shr-use-fonts) | ||
| 1818 | (defvar gnus-inhibit-images) | 1819 | (defvar gnus-inhibit-images) |
| 1819 | (autoload 'gnus-blocked-images "gnus-art") | 1820 | (autoload 'gnus-blocked-images "gnus-art") |
| 1820 | 1821 | ||
| @@ -1822,7 +1823,10 @@ If RECURSIVE, search recursively." | |||
| 1822 | ;; Require since we bind its variables. | 1823 | ;; Require since we bind its variables. |
| 1823 | (require 'shr) | 1824 | (require 'shr) |
| 1824 | (let ((article-buffer (current-buffer)) | 1825 | (let ((article-buffer (current-buffer)) |
| 1825 | (shr-width (if shr-use-fonts nil fill-column)) | 1826 | (shr-width (if (and (boundp 'shr-use-fonts) |
| 1827 | shr-use-fonts) | ||
| 1828 | nil | ||
| 1829 | fill-column)) | ||
| 1826 | (shr-content-function (lambda (id) | 1830 | (shr-content-function (lambda (id) |
| 1827 | (let ((handle (mm-get-content-id id))) | 1831 | (let ((handle (mm-get-content-id id))) |
| 1828 | (when handle | 1832 | (when handle |