Function: format-spec-make

format-spec-make is a byte-compiled function defined in format-spec.el.gz.

Signature

(format-spec-make &rest PAIRS)

Documentation

Return an alist suitable for use in format-spec based on PAIRS.

PAIRS is a property list with characters as keys.

Source Code

;; Defined in /usr/src/emacs/lisp/format-spec.el.gz
(defun format-spec-make (&rest pairs)
  "Return an alist suitable for use in `format-spec' based on PAIRS.
PAIRS is a property list with characters as keys."
  (let (alist)
    (while pairs
      (unless (cdr pairs)
	(error "Invalid list of pairs"))
      (push (cons (car pairs) (cadr pairs)) alist)
      (setq pairs (cddr pairs)))
    (nreverse alist)))