diff options
| author | Kenichi Handa | 1997-09-26 01:50:55 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-09-26 01:50:55 +0000 |
| commit | 6e262a8810ce4ab3d9c2492dc5686e7acd71fe51 (patch) | |
| tree | ca16532c67df0ab83a3120dc598c334dcff3de94 | |
| parent | ccaab511232787a68f73f841ab9021aac7d89d41 (diff) | |
| download | emacs-6e262a8810ce4ab3d9c2492dc5686e7acd71fe51.tar.gz emacs-6e262a8810ce4ab3d9c2492dc5686e7acd71fe51.zip | |
(gnus-show-traditional-method): New variable.
(gnus-article-prepare): If gnus-show-mime is nil, call
gnus-show-traditional-method.
| -rw-r--r-- | lisp/gnus/gnus-art.el | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index ab9ae675cfa..64b82e6b97a 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -368,6 +368,15 @@ The function is called from the article buffer." | |||
| 368 | :group 'gnus-article-mime | 368 | :group 'gnus-article-mime |
| 369 | :type 'function) | 369 | :type 'function) |
| 370 | 370 | ||
| 371 | (defcustom gnus-show-traditional-method | ||
| 372 | (if (featurep 'mule) | ||
| 373 | 'gnus-mule-decode-article | ||
| 374 | (lambda ())) | ||
| 375 | "Function to decode ``localized RFC 822 messages''. | ||
| 376 | The function is called from the article buffer." | ||
| 377 | :group 'gnus-article-mime | ||
| 378 | :type 'function) | ||
| 379 | |||
| 371 | (defcustom gnus-page-delimiter "^\^L" | 380 | (defcustom gnus-page-delimiter "^\^L" |
| 372 | "*Regexp describing what to use as article page delimiters. | 381 | "*Regexp describing what to use as article page delimiters. |
| 373 | The default value is \"^\^L\", which is a form linefeed at the | 382 | The default value is \"^\^L\", which is a form linefeed at the |
| @@ -2004,11 +2013,12 @@ If ALL-HEADERS is non-nil, no headers are hidden." | |||
| 2004 | (run-hooks 'internal-hook) | 2013 | (run-hooks 'internal-hook) |
| 2005 | (run-hooks 'gnus-article-prepare-hook) | 2014 | (run-hooks 'gnus-article-prepare-hook) |
| 2006 | ;; Decode MIME message. | 2015 | ;; Decode MIME message. |
| 2007 | (when gnus-show-mime | 2016 | (if gnus-show-mime |
| 2008 | (if (or (not gnus-strict-mime) | 2017 | (if (or (not gnus-strict-mime) |
| 2009 | (gnus-fetch-field "Mime-Version")) | 2018 | (gnus-fetch-field "Mime-Version")) |
| 2010 | (funcall gnus-show-mime-method) | 2019 | (funcall gnus-show-mime-method) |
| 2011 | (funcall gnus-decode-encoded-word-method))) | 2020 | (funcall gnus-decode-encoded-word-method)) |
| 2021 | (funcall gnus-show-traditional-method)) | ||
| 2012 | ;; Perform the article display hooks. | 2022 | ;; Perform the article display hooks. |
| 2013 | (run-hooks 'gnus-article-display-hook)) | 2023 | (run-hooks 'gnus-article-display-hook)) |
| 2014 | ;; Do page break. | 2024 | ;; Do page break. |