]> git.eshelyaron.com Git - emacs.git/commitdiff
* nnspool.el (nnspool-request-post): Ditto.
authorShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 4 Jan 2002 14:34:43 +0000 (14:34 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 4 Jan 2002 14:34:43 +0000 (14:34 +0000)
lisp/gnus/ChangeLog
lisp/gnus/nnspool.el

index 83f8d7b796b685aad6c8a2416a11186524e885a1..015e07e5bc2e4f43fd124a70c3f537e591d1ef8a 100644 (file)
@@ -4,6 +4,7 @@
        * mm-util.el (mm-use-find-coding-systems-region): New variable.
        (mm-find-mime-charset-region): Use it.
        * nntp.el (nntp-send-buffer): Use mm-with-unibyte-current-buffer.
+       * nnspool.el (nnspool-request-post): Ditto.
 
 2002-01-01  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
index b33a2dbb50e3d37fe1bc955c009ea1a9e97cacc9..ffc0532446a6e15b4edde9a4eb3d6edc1875a330 100644 (file)
@@ -1,7 +1,8 @@
 ;;; nnspool.el --- spool access for GNU Emacs
 
 ;; Copyright (C) 1988, 1989, 1990, 1993, 1994, 1995, 1996, 1997, 1998,
-;;     2000 Free Software Foundation, Inc.
+;;               2000, 2002 
+;;               Free Software Foundation, Inc.
 
 ;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet>
 ;;     Lars Magne Ingebrigtsen <larsi@gnus.org>
@@ -327,7 +328,8 @@ there.")
          ()
        (nnheader-report 'nnspool "")
        (set-process-sentinel proc 'nnspool-inews-sentinel)
-       (process-send-region proc (point-min) (point-max))
+       (mm-with-unibyte-current-buffer
+         (process-send-region proc (point-min) (point-max)))
        ;; We slap a condition-case around this, because the process may
        ;; have exited already...
        (ignore-errors