comparison doc/lispref/display.texi @ 106905:1f446f261ed0

no message
author Alan Mackenzie <acm@muc.de>
date Tue, 19 Jan 2010 11:43:25 +0000
parents 79fa2d910b72
children 1d1d5d9bd884
comparison
equal deleted inserted replaced
106904:943a92f3710b 106905:1f446f261ed0
4392 4392
4393 (defun display-anim (buffer file idx max first-time) 4393 (defun display-anim (buffer file idx max first-time)
4394 (when (= idx max) 4394 (when (= idx max)
4395 (setq idx 0)) 4395 (setq idx 0))
4396 (let ((img (create-image file nil :image idx))) 4396 (let ((img (create-image file nil :image idx)))
4397 (save-excursion 4397 (with-current-buffer buffer
4398 (set-buffer buffer)
4399 (goto-char (point-min)) 4398 (goto-char (point-min))
4400 (unless first-time (delete-char 1)) 4399 (unless first-time (delete-char 1))
4401 (insert-image img)) 4400 (insert-image img))
4402 (run-with-timer 0.1 nil 'display-anim buffer file (1+ idx) max nil))) 4401 (run-with-timer 0.1 nil 'display-anim buffer file (1+ idx) max nil)))
4403 @end ignore 4402 @end ignore