Function: comment-make-bol-ws

comment-make-bol-ws is a byte-compiled function defined in newcomment.el.gz.

Signature

(comment-make-bol-ws LEN)

Documentation

Make a white-space string of width LEN for use at BOL.

When indent-tabs-mode(var)/indent-tabs-mode(fun) is non-nil, tab characters will be used.

Source Code

;; Defined in /usr/src/emacs/lisp/newcomment.el.gz
(defun comment-make-bol-ws (len)
  "Make a white-space string of width LEN for use at BOL.
When `indent-tabs-mode' is non-nil, tab characters will be used."
  (if (and indent-tabs-mode (> tab-width 0))
      (concat (make-string (/ len tab-width) ?\t)
	      (make-string (% len tab-width) ? ))
    (make-string len ? )))