Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
cec05144
Commit
cec05144
authored
Oct 17, 2009
by
Glenn Morris
Browse files
(gs-load-image): Replace obsolete forms of sit-for, sleep-for.
parent
2550e4b1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
lisp/ChangeLog
lisp/ChangeLog
+2
-0
lisp/gs.el
lisp/gs.el
+4
-4
No files found.
lisp/ChangeLog
View file @
cec05144
2009-10-17 Glenn Morris <rgm@gnu.org>
* gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
* dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
(dired-keep-marker-copy, dired-keep-marker-hardlink)
(dired-keep-marker-symlink, dired-dwim-target)
...
...
lisp/gs.el
View file @
cec05144
;;; gs.el --- interface to Ghostscript
;; Copyright (C) 1998, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
;; 200
8, 200
9 Free Software Foundation, Inc.
;; Copyright (C) 1998, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
2008,
;; 2009
Free Software Foundation, Inc.
;; Maintainer: FSF
;; Keywords: internal
...
...
@@ -180,8 +180,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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment