Function: orderless-kwd--get-symbol

orderless-kwd--get-symbol is a byte-compiled function defined in orderless-kwd.el.

Signature

(orderless-kwd--get-symbol STR)

Documentation

Return symbol from candidate STR taking embark-command into account.

Source Code

;; Defined in ~/.emacs.d/elpa/orderless-20261013.1927/orderless-kwd.el
(defsubst orderless-kwd--get-symbol (str)
  "Return symbol from candidate STR taking `embark-command' into account."
  (let ((sym (get-text-property 0 'embark-command str)))
    (if (and sym (symbolp sym))
        sym
      (intern-soft str))))