From: morioka Date: Tue, 17 Feb 1998 14:43:57 +0000 (+0000) Subject: Check SEMI-0.118.2 (Otomaru) or later. X-Git-Tag: gnus-6_7-tomo-199811302358~181 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df7e23cb02413d6b3ee01c18bb4c2d1771d6ddd5;p=elisp%2Fgnus.git- Check SEMI-0.118.2 (Otomaru) or later. (gnus-structured-field-decoder): Use `eword-decode-and-unfold-structured-field'. --- 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)