auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] [elpa] externals/auctex 63ab2c1 2/9: * style/ltxguide.el


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex 63ab2c1 2/9: * style/ltxguide.el ("ltxguide"): Update syntactic font-locking.
Date: Thu, 26 Aug 2021 09:07:48 -0400 (EDT)

branch: externals/auctex
commit 63ab2c1b8e812aa72012966c78b139037e11bb79
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@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 <arash@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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]