Function: use-package-as-symbol

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

Signature

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

Documentation

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

Otherwise convert it to a symbol and return that.

Source Code

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