Function: helpful--indent-rigidly

helpful--indent-rigidly is a natively compiled function defined in helpful.el.

Signature

(helpful--indent-rigidly S AMOUNT)

Documentation

Indent string S by adding AMOUNT spaces to each line.

Source Code

;; Defined in /nix/store/mvfc1hll8a1f23ivm3qmzj4bn64jr3x7-emacs-packages-deps/share/emacs/site-lisp/elpa/helpful-20250408.334/helpful.el
(defun helpful--indent-rigidly (s amount)
  "Indent string S by adding AMOUNT spaces to each line."
  (with-temp-buffer
    (insert s)
    (indent-rigidly (point-min) (point-max) amount)
    (buffer-string)))