Function: use-package-normalize/:pin

use-package-normalize/:pin is a byte-compiled function defined in use-package-ensure.el.gz.

Signature

(use-package-normalize/:pin NAME KEYWORD ARGS)

Source Code

;; Defined in /usr/src/emacs/lisp/use-package/use-package-ensure.el.gz
;;;; :pin

(defun use-package-normalize/:pin (_name keyword args)
  (use-package-only-one (symbol-name keyword) args
    #'(lambda (_label arg)
        (cond
         ((stringp arg) arg)
         ((use-package-non-nil-symbolp arg) (symbol-name arg))
         (t
          (use-package-error
           ":pin wants an archive name (a string)"))))))