Function: auth-source--pad

auth-source--pad is a byte-compiled function defined in auth-source.el.gz.

Signature

(auth-source--pad STRING LENGTH)

Documentation

Pad STRING to a modulo of LENGTH.

Source Code

;; Defined in /usr/src/emacs/lisp/auth-source.el.gz
(defun auth-source--pad (string length)
  "Pad STRING to a modulo of LENGTH."
  (let ((pad (- length (mod (length string) length))))
    (concat string (make-string pad pad))))