File:  [Local Repository] / reports / tools.el
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Sun Jan 18 06:07:58 2004 UTC (20 years, 4 months ago) by boris
Branches: MAIN
CVS tags: HEAD
new info

(defun add-spaces (&optional num)
  "Add spaces until the line has num spaces"
  (interactive "p")
  (if (<= num 1) (setq num 70))
  (end-of-line)
  (while (> num (- (line-end-position) (line-beginning-position)))
    (insert " "))
  (next-line 1)
  (beginning-of-line))

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>