branch: externals/auctex commit 63ab2c1b8e812aa72012966c78b139037e11bb79 Author: Arash Esbati <ar...@gnu.org> Commit: Arash Esbati <ar...@gnu.org>
* style/ltxguide.el ("ltxguide"): Update syntactic font-locking. --- style/ltxguide.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/style/ltxguide.el b/style/ltxguide.el index 50b5ee3..a30a2a7 100644 --- a/style/ltxguide.el +++ b/style/ltxguide.el @@ -1,6 +1,6 @@ ;;; ltxguide.el --- AUCTeX style for `ltxguide.cls' (2001/05/28) -*- lexical-binding: t; -*- -;; Copyright (C) 2020 Free Software Foundation, Inc. +;; Copyright (C) 2020, 2021 Free Software Foundation, Inc. ;; Author: Arash Esbati <ar...@gnu.org> ;; Maintainer: auctex-devel@gnu.org @@ -38,6 +38,8 @@ (declare-function font-latex-add-keywords "font-latex" (keywords class)) +(declare-function font-latex-set-syntactic-keywords + "font-latex") (defvar LaTeX-article-class-options) @@ -112,7 +114,9 @@ For decl environment provided by ltxguide.cls." ("NEWdescription" "{")) 'textual) (font-latex-add-keywords '(("URL" "")) - 'reference))) + 'reference) + ;; Tell font-lock about the update. + (font-latex-set-syntactic-keywords))) TeX-dialect) (defvar LaTeX-ltxguide-class-options _______________________________________________ auctex-diffs mailing list auctex-di...@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-diffs