From: shuhei-k Date: Fri, 12 Jun 1998 14:50:56 +0000 (+0000) Subject: Synch up to `akr' branch. X-Git-Tag: semi-mule-199811302358~80 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=1421b73708df2a838c72c018cf47585c3a22e020;p=elisp%2Fgnus.git- Synch up to `akr' branch. --- diff --git a/lisp/gnus-i18n.el b/lisp/gnus-i18n.el index 3737fb9..78eeb03 100644 --- a/lisp/gnus-i18n.el +++ b/lisp/gnus-i18n.el @@ -76,15 +76,15 @@ It is specified by variable `gnus-newsgroup-default-charset-alist' )) (setq alist (cdr alist))) )))) - (when charset - (save-excursion - (set-buffer gnus-summary-buffer) - (make-local-variable 'default-mime-charset) - (setq default-mime-charset charset) - ) - (make-local-variable 'default-mime-charset) - (setq default-mime-charset charset) - )))) + (if charset + (progn + (save-excursion + (set-buffer gnus-summary-buffer) + (make-local-variable 'default-mime-charset) + (setq default-mime-charset charset)) + (make-local-variable 'default-mime-charset) + (setq default-mime-charset charset)) + (kill-local-variable 'default-mime-charset))))) ;;; @ end