From d9d164f0033d0af76f005e2560d15e9e606f85fd Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 3 Oct 2022 15:03:57 -0400 Subject: [PATCH] * lisp/textmodes/tex-mode.el (tex--redirect-to-submode): Fix last change --- lisp/textmodes/tex-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 5c2dbdfe5cd..6dc2865dd9a 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -1032,7 +1032,7 @@ says which mode to use." ;; `tex--guess-mode' really tries to guess the *type* of file, ;; so we still need to consult `major-mode-remap-alist' ;; to see which mode to use for that type. - (funcall (alist-get mode major-mode-remap-alist mode))))))) + (alist-get mode major-mode-remap-alist mode)))))) ;; The following three autoloaded aliases appear to conflict with ;; AUCTeX. We keep those confusing aliases for those users who may -- 2.39.2