Function: use-package-as-string

use-package-as-string is a byte-compiled function defined in use-package-core.el.gz.

Signature

(use-package-as-string STRING-OR-SYMBOL)

Documentation

If STRING-OR-SYMBOL is already a string, return it.

Otherwise convert it to a string and return that.

Source Code

;; Defined in /usr/src/emacs/lisp/use-package/use-package-core.el.gz
(defsubst use-package-as-string (string-or-symbol)
  "If STRING-OR-SYMBOL is already a string, return it.
Otherwise convert it to a string and return that."
  (if (stringp string-or-symbol) string-or-symbol
    (symbol-name string-or-symbol)))