(gs-load-image): Use `set-process-query-on-exit-flag' instead of

obsolete `process-kill-without-query'.
This commit is contained in:
John Paul Wallington 2004-05-25 20:12:00 +00:00
parent 62c2539ec8
commit 1a597f4fff
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2004-05-25 John Paul Wallington <jpw@gnu.org>
* gs.el (gs-load-image): Use `set-process-query-on-exit-flag'
instead of obsolete `process-kill-without-query'.
* textmodes/texinfmt.el (texinfo-indexvar-alist):
Declare as variable, not constant.
2004-05-25 Luc Teirlinck <teirllm@auburn.edu>
* files.el (find-file-noselect-1): Fix bug introduced by

View file

@ -1,6 +1,6 @@
;;; gs.el --- interface to Ghostscript
;; Copyright (C) 1998, 2001 Free Software Foundation, Inc.
;; Copyright (C) 1998, 2001, 2004 Free Software Foundation, Inc.
;; Maintainer: FSF
;; Keywords: internal
@ -197,7 +197,7 @@ the form \"WINDOW-ID PIXMAP-ID\". Value is non-nil if successful."
(setenv "GHOSTVIEW" window-and-pixmap-id)
(setq gs (apply 'start-process "gs" "*GS*" gs-program
(gs-options gs-device file)))
(process-kill-without-query gs)
(set-process-query-on-exit-flag gs nil)
gs)
nil))