]> code.delx.au - gnu-emacs/blobdiff - lisp/rect.el
(ido-enable-prefix): Improve previous doc fix.
[gnu-emacs] / lisp / rect.el
index be3a65ccd6ae70612765eea4bf5c6a03d44ddbe6..9515733ef2b708d4db5aa42a3c8e323b08df5a9a 100644 (file)
@@ -181,12 +181,9 @@ the function is called."
 
 ;; this one is untouched --dv
 (defun spaces-string (n)
+  "Returns a string with N spaces."
   (if (<= n 8) (aref spaces-strings n)
-    (let ((val ""))
-      (while (> n 8)
-       (setq val (concat "        " val)
-             n (- n 8)))
-      (concat val (aref spaces-strings n)))))
+    (make-string n ? )))
 
 ;;;###autoload
 (defun delete-rectangle (start end &optional fill)