From: Stefan Monnier Date: Mon, 3 Oct 2022 19:03:57 +0000 (-0400) Subject: * lisp/textmodes/tex-mode.el (tex--redirect-to-submode): Fix last change X-Git-Tag: emacs-29.0.90~1856^2~52 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d9d164f0033d0af76f005e2560d15e9e606f85fd;p=emacs.git * lisp/textmodes/tex-mode.el (tex--redirect-to-submode): Fix last change --- 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