From df7e23cb02413d6b3ee01c18bb4c2d1771d6ddd5 Mon Sep 17 00:00:00 2001 From: morioka Date: Tue, 17 Feb 1998 14:43:57 +0000 Subject: [PATCH] Check SEMI-0.118.2 (Otomaru) or later. (gnus-structured-field-decoder): Use `eword-decode-and-unfold-structured-field'. --- lisp/gnus-sum.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el index 1db55dd..6159182 100644 --- a/lisp/gnus-sum.el +++ b/lisp/gnus-sum.el @@ -36,6 +36,10 @@ (require 'gnus-undo) (require 'std11) (require 'mime-view) + +(or (string< "1" eword-decode-version) + (error "Please install latest SEMI.")) + (autoload 'gnus-summary-limit-include-cached "gnus-cache" nil t) (autoload 'gnus-set-summary-default-charset "gnus-i18n" nil t) @@ -662,11 +666,7 @@ is not run if `gnus-visual' is nil." ;; 1997/5/4 by MORIOKA Tomohiko (defcustom gnus-structured-field-decoder - (function - (lambda (string) - (eword-decode-structured-field-body - (std11-unfold-string string) 'must-unfold) - )) + #'eword-decode-and-unfold-structured-field "*Function to decode non-ASCII characters in structured field for summary." :group 'gnus-various :type 'function) -- 1.7.10.4