Function: combobulate-get
combobulate-get is a natively compiled function defined in
combobulate-setup.el.
Signature
(combobulate-get SHORTHAND &optional LANGUAGE CHECK)
Documentation
Generate a symbol that belongs to LANGUAGE named SHORTHAND.
If CHECK is non-nil raise an assertion if the variable with that SHORTHAND for that LANGUAGE is unbound.
Source Code
;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-setup.el
(defun combobulate-get (shorthand &optional language check)
"Generate a symbol that belongs to LANGUAGE named SHORTHAND.
If CHECK is non-nil raise an assertion if the variable with that
SHORTHAND for that LANGUAGE is unbound."
(when-let (lang (or language (combobulate-primary-language)))
(let ((var (intern (format "combobulate-%s-%s" lang shorthand))))
(when (and (not (boundp var)) check)
(cl-assert (boundp var) nil
"Variable `%s' does not exist in language `%s' with shorthand `%s'"
var lang shorthand))
var)))