diff options
| author | Kenichi Handa | 1997-10-22 04:34:23 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-10-22 04:34:23 +0000 |
| commit | 06dee88cc2d1e7d24060c0ee728ccd9b1b6394af (patch) | |
| tree | f1c8532d638ce0bd8e61ea9b7c3b5e4dec6b88e8 | |
| parent | d34596414ea64e1009c1d785f83d10e9bde67be8 (diff) | |
| download | emacs-06dee88cc2d1e7d24060c0ee728ccd9b1b6394af.tar.gz emacs-06dee88cc2d1e7d24060c0ee728ccd9b1b6394af.zip | |
(gnus-structured-field-decoder): Pay attention
to enable-multibyte-characters.
(gnus-unstructured-field-decoder): Likewise.
| -rw-r--r-- | lisp/gnus/gnus-sum.el | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index 1fae5060dbe..d1b9deb21e0 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -621,21 +621,25 @@ is not run if `gnus-visual' is nil." | |||
| 621 | 621 | ||
| 622 | ;; 1997/5/4 by MORIOKA Tomohiko <morioka@jaist.ac.jp> | 622 | ;; 1997/5/4 by MORIOKA Tomohiko <morioka@jaist.ac.jp> |
| 623 | (defcustom gnus-structured-field-decoder | 623 | (defcustom gnus-structured-field-decoder |
| 624 | (if (featurep 'mule) | 624 | (if (and (featurep 'mule) |
| 625 | (boundp 'enable-multibyte-characters)) | ||
| 625 | (lambda (string) | 626 | (lambda (string) |
| 626 | (if gnus-mule-coding-system | 627 | (if (and enable-multibyte-characters gnus-mule-coding-system) |
| 627 | (decode-coding-string string gnus-mule-coding-system) | 628 | (decode-coding-string string gnus-mule-coding-system) |
| 628 | ))) | 629 | string)) |
| 630 | 'identity) | ||
| 629 | "Function to decode non-ASCII characters in structured field for summary." | 631 | "Function to decode non-ASCII characters in structured field for summary." |
| 630 | :group 'gnus-various | 632 | :group 'gnus-various |
| 631 | :type 'function) | 633 | :type 'function) |
| 632 | 634 | ||
| 633 | (defcustom gnus-unstructured-field-decoder | 635 | (defcustom gnus-unstructured-field-decoder |
| 634 | (if (featurep 'mule) | 636 | (if (and (featurep 'mule) |
| 637 | (boundp 'enable-multibyte-characters)) | ||
| 635 | (lambda (string) | 638 | (lambda (string) |
| 636 | (if gnus-mule-coding-system | 639 | (if (and enable-multibyte-characters gnus-mule-coding-system) |
| 637 | (decode-coding-string string gnus-mule-coding-system) | 640 | (decode-coding-string string gnus-mule-coding-system) |
| 638 | ))) | 641 | string)) |
| 642 | 'identity) | ||
| 639 | "Function to decode non-ASCII characters in unstructured field for summary." | 643 | "Function to decode non-ASCII characters in unstructured field for summary." |
| 640 | :group 'gnus-various | 644 | :group 'gnus-various |
| 641 | :type 'function) | 645 | :type 'function) |