Commit 24c4abf9 authored by ShengHuo ZHU's avatar ShengHuo ZHU

* nnspool.el (nnspool-request-post): Ditto.

parent 98cf1bb5
......@@ -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>
......
;;; 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment