branch: externals/auctex commit b91b20395be673394305be872e9cbbe5a5cadd3c Author: Tassilo Horn <t...@gnu.org> Commit: Tassilo Horn <t...@gnu.org>
docfix --- tex.el | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tex.el b/tex.el index df8369f..394814e 100644 --- a/tex.el +++ b/tex.el @@ -2708,10 +2708,10 @@ See variable `TeX-style-hook-dialect' for supported dialects." (and (TeX-shdex-in-p TeX-style-hook-dialect (aref hook 2)) (funcall (aref hook 1)))) (t (error "Invalid style hook %S" hook)))) - ;; Drop the LATEX entry and then reverse the list - ;; of style hooks in order to run styles in the - ;; order global, private, local (assuming - ;; TeX-style-path has that ordering, too). + ;; Reverse the list of style hooks in order to run + ;; styles in the order global, private, local + ;; (assuming TeX-style-path has that ordering, + ;; too). (reverse (cdr-safe (TeX-assoc-string style TeX-style-hook-list)))) ;; This happens in case some style added a new parser, and ;; now the style isn't used anymore (user deleted