Function: combobulate-register-language
combobulate-register-language is a natively compiled function defined
in combobulate-setup.el.
Signature
(combobulate-register-language LANGUAGE MAJOR-MODES MINOR-MODE-FN)
Documentation
Register a Combobulate language.
LANGUAGE is the Combobulate language name. MAJOR-MODES is a list of major modes that use this language. MINOR-MODE-FN is the minor mode function for this language.
Source Code
;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-setup.el
(defun combobulate-register-language (language major-modes minor-mode-fn)
"Register a Combobulate language.
LANGUAGE is the Combobulate language name.
MAJOR-MODES is a list of major modes that use this language.
MINOR-MODE-FN is the minor mode function for this language."
(if-let ((def (cdr (assoc language combobulate-registered-languages-alist))))
(unless (equal def (list major-modes minor-mode-fn))
(error "Language `%s' is already registered with a different definition." language))
(push (list language major-modes minor-mode-fn)
combobulate-registered-languages-alist)))