* nntp.el (nntp-send-buffer): Use mm-with-unibyte-current-buffer.
authorShengHuo ZHU <zsh@cs.rochester.edu>
Thu, 3 Jan 2002 16:04:53 +0000 (16:04 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Thu, 3 Jan 2002 16:04:53 +0000 (16:04 +0000)
* nnspool.el (nnspool-request-post): Ditto.

lisp/ChangeLog
lisp/nnspool.el
lisp/nntp.el

index 140998b..d22acce 100644 (file)
@@ -1,6 +1,7 @@
 2002-01-03  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
        * nntp.el (nntp-send-buffer): Use mm-with-unibyte-current-buffer.
+       * nnspool.el (nnspool-request-post): Ditto.
 
        * mm-util.el (mm-use-find-coding-systems-region): New variable.
        (mm-find-mime-charset-region): Use it.
index a3e0c3b..e20d355 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>
@@ -330,7 +331,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
index 15d7a7d..e343ad8 100644 (file)
@@ -1,6 +1,6 @@
 ;;; nntp.el --- nntp access for Gnus
-;; Copyright (C) 1987, 1988, 1989, 1990, 1992, 1993, 1994, 1995, 1996,
-;;        1997, 1998, 2000, 2001
+;; Copyright (C) 1987, 1988, 1989, 1990, 1992, 1993, 1994, 1995, 1996, 
+;;        1997, 1998, 2000, 2001, 2002
 ;;        Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>