* server.el (server-start): Simplify loop.
authorLeo Liu <sdl.web@gmail.com>
Tue, 3 Aug 2010 12:22:23 +0000 (14:22 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Tue, 3 Aug 2010 12:22:23 +0000 (14:22 +0200)
lisp/ChangeLog
lisp/server.el

index 60a1b8a..c6476ca 100644 (file)
@@ -1,3 +1,7 @@
+2010-08-03  Leo  <sdl.web@gmail.com>
+
+       * server.el (server-start): Simplify loop.
+
 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * frame.el (screen-height, screen-width, set-screen-width)
index 1ac2fb5..b2198ca 100644 (file)
@@ -577,7 +577,7 @@ server or call `M-x server-force-delete' to forcibly disconnect it.")
                   (loop
                      ;; The auth key is a 64-byte string of random chars in the
                      ;; range `!'..`~'.
-                     for i below 64
+                     repeat 64
                      collect (+ 33 (random 94)) into auth
                      finally return (concat auth))))
              (process-put server-process :auth-key auth-key)