diff options
| author | Katsumi Yamaoka | 2011-12-08 06:22:03 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2011-12-08 06:22:03 +0000 |
| commit | 8b8059decd84744f886aed505b856a4052a0a99e (patch) | |
| tree | 966a5adfd8d747e8d8bb1f4ea6284e6f1b84976d | |
| parent | 76470ad1a01b2d38137fe5fb9e2a18446e7d4536 (diff) | |
| download | emacs-8b8059decd84744f886aed505b856a4052a0a99e.tar.gz emacs-8b8059decd84744f886aed505b856a4052a0a99e.zip | |
gnus-sum.el (gnus-summary-show-article): Don't load shr unconditionally.
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/gnus-sum.el | 9 |
2 files changed, 11 insertions, 3 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index bdc7313e57a..e8d0fb25bb5 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-12-08 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * gnus-sum.el (gnus-summary-show-article): Don't load shr | ||
| 4 | unconditionally. | ||
| 5 | |||
| 1 | 2011-12-07 Katsumi Yamaoka <yamaoka@jpl.org> | 6 | 2011-12-07 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 7 | ||
| 3 | * message.el (message-pop-to-buffer): Use pop-to-buffer instead of | 8 | * message.el (message-pop-to-buffer): Use pop-to-buffer instead of |
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index 10d1b467c37..17ccae986e9 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -9611,9 +9611,12 @@ C-u g', show the raw article." | |||
| 9611 | (when (gnus-summary-goto-subject (cdr gnus-article-current) nil t) | 9611 | (when (gnus-summary-goto-subject (cdr gnus-article-current) nil t) |
| 9612 | (gnus-summary-update-secondary-mark (cdr gnus-article-current)))))) | 9612 | (gnus-summary-update-secondary-mark (cdr gnus-article-current)))))) |
| 9613 | ((not arg) | 9613 | ((not arg) |
| 9614 | (require 'shr) | 9614 | ;; Select the article the normal way. |
| 9615 | (let ((shr-ignore-cache t)) | 9615 | (if (eq mm-text-html-renderer 'shr) |
| 9616 | ;; Select the article the normal way. | 9616 | (progn |
| 9617 | (require 'shr) | ||
| 9618 | (let ((shr-ignore-cache t)) | ||
| 9619 | (gnus-summary-select-article nil 'force))) | ||
| 9617 | (gnus-summary-select-article nil 'force))) | 9620 | (gnus-summary-select-article nil 'force))) |
| 9618 | ((equal arg '(16)) | 9621 | ((equal arg '(16)) |
| 9619 | ;; C-u C-u g | 9622 | ;; C-u C-u g |