Function: majutsu-jjdescription--update-auto-mode-alist
majutsu-jjdescription--update-auto-mode-alist is a natively compiled
function defined in majutsu-jjdescription.el.
Signature
(majutsu-jjdescription--update-auto-mode-alist)
Documentation
Ensure auto-mode-alist reflects majutsu-jjdescription-major-mode.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-jjdescription.el
(defun majutsu-jjdescription--update-auto-mode-alist ()
"Ensure `auto-mode-alist' reflects `majutsu-jjdescription-major-mode'."
(setq auto-mode-alist
(cl-remove-if (lambda (entry)
(and (stringp (car entry))
(string= (car entry) majutsu-jjdescription-regexp)))
auto-mode-alist))
(when majutsu-jjdescription-major-mode
(add-to-list 'auto-mode-alist
(cons majutsu-jjdescription-regexp
majutsu-jjdescription-major-mode))))