]> code.delx.au - gnu-emacs/blobdiff - lisp/gs.el
Don't delete frame when there's a previous buffer to show (Bug#9419).
[gnu-emacs] / lisp / gs.el
index 3f0929f7807adf9b4255bdf1b2e4434e3592a8be..2eba7af71aef4a34547751878f95685e17c55d1d 100644 (file)
@@ -1,7 +1,6 @@
 ;;; gs.el --- interface to Ghostscript
 
-;; Copyright (C) 1998, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
-;;   2008 Free Software Foundation, Inc.
+;; Copyright (C) 1998, 2001-2011  Free Software Foundation, Inc.
 
 ;; Maintainer: FSF
 ;; Keywords: internal
@@ -180,8 +179,8 @@ the form \"WINDOW-ID PIXMAP-ID\".  Value is non-nil if successful."
                ;; out even more sluggish.
                ;; (get-buffer-process "*GS*")
                (not (zerop timeout)))
-         (unless (sit-for 0 100 t)
-           (sleep-for 0 50))
+         (unless (sit-for 0.1 t)
+           (sleep-for 0.05))
          (setq timeout (1- timeout)))
 
        ;; No use waiting longer.  We might want to try killing off
@@ -221,5 +220,4 @@ the form \"WINDOW-ID PIXMAP-ID\".  Value is non-nil if successful."
 
 (provide 'gs)
 
-;; arch-tag: 06ab51b8-4932-4cfe-9f60-b924a8edb3f0
 ;;; gs.el ends here