summaryrefslogtreecommitdiff
path: root/lisp/gnus/yenc.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus/yenc.el')
-rw-r--r--lisp/gnus/yenc.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/gnus/yenc.el b/lisp/gnus/yenc.el
index 8cb522c4ec7..2d56d660583 100644
--- a/lisp/gnus/yenc.el
+++ b/lisp/gnus/yenc.el
@@ -89,9 +89,9 @@
(when (re-search-forward "^=yend.*$" end t)
(setq last (match-beginning 0))
(setq footer-alist (yenc-parse-line (match-string 0)))
- (with-current-buffer
- (setq work-buffer (generate-new-buffer " *yenc-work*"))
- (set-buffer-multibyte nil))
+ (setq work-buffer (generate-new-buffer " *yenc-work*"))
+ (unless (featurep 'xemacs)
+ (with-current-buffer work-buffer (set-buffer-multibyte nil)))
(while (< first last)
(setq char (char-after first))
(cond ((or (eq char ?\r)