]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix sit-for calling convention in zone.el
authorStefan Kangas <stefankangas@gmail.com>
Fri, 28 Oct 2022 20:34:24 +0000 (22:34 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Fri, 28 Oct 2022 20:34:52 +0000 (22:34 +0200)
* lisp/play/zone.el (zone-pgm-2nd-putz-with-case)
(zone-pgm-putz-with-case): Don't use obsolete calling convention for
'sit-for'.

lisp/play/zone.el

index 1e8e0cbab551d7d7187ab7bf1cc178a5e511e36c..a470f23dfe4f543aab64b9a2b4d90673238fd63d 100644 (file)
@@ -347,7 +347,7 @@ run a specific program.  The program must be a member of
                 (upcase i)))
         (setq i (+ i (1+ (random 5)))))
       (translate-region (point-min) (point-max) tbl)
-      (sit-for 0 2))))
+      (sit-for 0.002))))
 
 (defun zone-pgm-putz-with-case ()
   (goto-char (point-min))
@@ -359,7 +359,7 @@ run a specific program.  The program must be a member of
                    'downcase-region) (1- np) np)
         (setq np (+ np (1+ (random 5))))))
     (goto-char (point-min))
-    (sit-for 0 2)))
+    (sit-for 0.002)))
 
 
 ;;;; rotating