diff options
| author | Kenichi Handa | 1997-09-26 01:50:55 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-09-26 01:50:55 +0000 |
| commit | 80bb5a78a57410eb24c8a3236a413a944b2d61c0 (patch) | |
| tree | d7128b84621901705c374ffeaba2c48d168f9df2 /lisp | |
| parent | b784063f3638332dbecbba542f8d1185de6ef823 (diff) | |
| download | emacs-80bb5a78a57410eb24c8a3236a413a944b2d61c0.tar.gz emacs-80bb5a78a57410eb24c8a3236a413a944b2d61c0.zip | |
(gnus-structured-field-decoder): If the
feature `mule' is provided, set the default value to the function
which decode the argument string by gnus-mule-coding-system.
(gnus-unstructured-field-decoder): Likewise.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/gnus/gnus-sum.el | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index 1ed79489c32..1fae5060dbe 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -620,12 +620,22 @@ is not run if `gnus-visual' is nil." | |||
| 620 | :type 'hook) | 620 | :type 'hook) |
| 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 'identity | 623 | (defcustom gnus-structured-field-decoder |
| 624 | (if (featurep 'mule) | ||
| 625 | (lambda (string) | ||
| 626 | (if gnus-mule-coding-system | ||
| 627 | (decode-coding-string string gnus-mule-coding-system) | ||
| 628 | ))) | ||
| 624 | "Function to decode non-ASCII characters in structured field for summary." | 629 | "Function to decode non-ASCII characters in structured field for summary." |
| 625 | :group 'gnus-various | 630 | :group 'gnus-various |
| 626 | :type 'function) | 631 | :type 'function) |
| 627 | 632 | ||
| 628 | (defcustom gnus-unstructured-field-decoder 'identity | 633 | (defcustom gnus-unstructured-field-decoder |
| 634 | (if (featurep 'mule) | ||
| 635 | (lambda (string) | ||
| 636 | (if gnus-mule-coding-system | ||
| 637 | (decode-coding-string string gnus-mule-coding-system) | ||
| 638 | ))) | ||
| 629 | "Function to decode non-ASCII characters in unstructured field for summary." | 639 | "Function to decode non-ASCII characters in unstructured field for summary." |
| 630 | :group 'gnus-various | 640 | :group 'gnus-various |
| 631 | :type 'function) | 641 | :type 'function) |