summaryrefslogtreecommitdiff
path: root/lisp/gs.el
diff options
context:
space:
mode:
authorJohn Paul Wallington <jpw@pobox.com>2004-05-25 20:12:00 +0000
committerJohn Paul Wallington <jpw@pobox.com>2004-05-25 20:12:00 +0000
commit1a597f4fffe691a158dabeefa98b5c314f633f94 (patch)
tree6495637022b786e8bc57eb901fa054458be379e1 /lisp/gs.el
parent62c2539ec89b70801ec6af823d1e555b2e1fc788 (diff)
downloademacs-1a597f4fffe691a158dabeefa98b5c314f633f94.tar.gz
(gs-load-image): Use `set-process-query-on-exit-flag' instead of
obsolete `process-kill-without-query'.
Diffstat (limited to 'lisp/gs.el')
-rw-r--r--lisp/gs.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/gs.el b/lisp/gs.el
index 284b18251ec..2c38a55f6df 100644
--- a/lisp/gs.el
+++ b/lisp/gs.el
@@ -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))