diff options
Diffstat (limited to 'lisp/rect.el')
| -rw-r--r-- | lisp/rect.el | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/rect.el b/lisp/rect.el index be3a65ccd6a..9515733ef2b 100644 --- a/lisp/rect.el +++ b/lisp/rect.el | |||
| @@ -181,12 +181,9 @@ the function is called." | |||
| 181 | 181 | ||
| 182 | ;; this one is untouched --dv | 182 | ;; this one is untouched --dv |
| 183 | (defun spaces-string (n) | 183 | (defun spaces-string (n) |
| 184 | "Returns a string with N spaces." | ||
| 184 | (if (<= n 8) (aref spaces-strings n) | 185 | (if (<= n 8) (aref spaces-strings n) |
| 185 | (let ((val "")) | 186 | (make-string n ? ))) |
| 186 | (while (> n 8) | ||
| 187 | (setq val (concat " " val) | ||
| 188 | n (- n 8))) | ||
| 189 | (concat val (aref spaces-strings n))))) | ||
| 190 | 187 | ||
| 191 | ;;;###autoload | 188 | ;;;###autoload |
| 192 | (defun delete-rectangle (start end &optional fill) | 189 | (defun delete-rectangle (start end &optional fill) |