Function: org-ascii--indent-string

org-ascii--indent-string is a byte-compiled function defined in ox-ascii.el.gz.

Signature

(org-ascii--indent-string S WIDTH)

Documentation

Indent string S by WIDTH white spaces.

Empty lines are not indented.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-ascii.el.gz
(defun org-ascii--indent-string (s width)
  "Indent string S by WIDTH white spaces.
Empty lines are not indented."
  (when (stringp s)
    (replace-regexp-in-string
     "\\(^\\)[ \t]*\\S-" (make-string width ?\s) s nil nil 1)))