auctex-diffs
[Top][All Lists]
Advanced

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

master 798b1fae: Support starred version of VerbatimInput macros


From: Arash Esbati
Subject: master 798b1fae: Support starred version of VerbatimInput macros
Date: Sun, 28 Jan 2024 08:22:58 -0500 (EST)

branch: master
commit 798b1fae863722e369f140464eb03b079f4556d8
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>

    Support starred version of VerbatimInput macros
    
    * style/fancyvrb.el ("fancyvrb"):
    * tex-ispell.el (TeX-ispell-skip-cmds-list): Add missing starred
    version of VerbatimInput macros.
---
 style/fancyvrb.el | 16 ++++++++++++----
 tex-ispell.el     |  5 +++++
 2 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/style/fancyvrb.el b/style/fancyvrb.el
index 530b0621..49711f2f 100644
--- a/style/fancyvrb.el
+++ b/style/fancyvrb.el
@@ -1,6 +1,6 @@
 ;;; fancyvrb.el --- AUCTeX style for `fancyvrb.sty' version 4.5.  -*- 
lexical-binding: t; -*-
 
-;; Copyright (C) 2013, 2014, 2016-2023 Free Software Foundation, Inc.
+;; Copyright (C) 2013, 2014, 2016-2024 Free Software Foundation, Inc.
 
 ;; Maintainer: auctex-devel@gnu.org
 ;; Author: Mosè Giordano <mose@gnu.org>
@@ -720,9 +720,17 @@ a list of strings."
     ;; Writing and reading verbatim files
     '("VerbatimInput" [TeX-arg-key-val (LaTeX-fancyvrb-key-val-options)]
       LaTeX-fancyvrb-arg-file-relative)
+    '("VerbatimInput*" [TeX-arg-key-val (LaTeX-fancyvrb-key-val-options)]
+      LaTeX-fancyvrb-arg-file-relative)
+
     '("BVerbatimInput" [TeX-arg-key-val (LaTeX-fancyvrb-key-val-options)]
       LaTeX-fancyvrb-arg-file-relative)
+    '("BVerbatimInput*" [TeX-arg-key-val (LaTeX-fancyvrb-key-val-options)]
+      LaTeX-fancyvrb-arg-file-relative)
+
     '("LVerbatimInput" [TeX-arg-key-val (LaTeX-fancyvrb-key-val-options)]
+      LaTeX-fancyvrb-arg-file-relative)
+    '("LVerbatimInput*" [TeX-arg-key-val (LaTeX-fancyvrb-key-val-options)]
       LaTeX-fancyvrb-arg-file-relative))
 
    (LaTeX-add-environments
@@ -826,9 +834,9 @@ a list of strings."
                                 ("UndefineShortVerb" "{")
                                 ("fvset"             "{"))
                               'function)
-     (font-latex-add-keywords '(("VerbatimInput"  "[{")
-                                ("BVerbatimInput" "[{")
-                                ("LVerbatimInput" "[{"))
+     (font-latex-add-keywords '(("VerbatimInput"  "*[{")
+                                ("BVerbatimInput" "*[{")
+                                ("LVerbatimInput" "*[{"))
                               'reference)
      (font-latex-add-keywords '(("Verb" "*[") ; The second argument is 
verbatim.
                                 ("SaveVerb"     "[{")
diff --git a/tex-ispell.el b/tex-ispell.el
index 7915df30..73ff5c9e 100644
--- a/tex-ispell.el
+++ b/tex-ispell.el
@@ -177,6 +177,11 @@
       ("LUseVerbatim" . 1)
       ("LUseVerbatim*" . 1)
       ("VerbatimInput" . 1)
+      ("VerbatimInput*" . 1)
+      ("BVerbatimInput" . 1)
+      ("BVerbatimInput*" . 1)
+      ("LVerbatimInput" . 1)
+      ("LVerbatimInput*" . 1)
       ;; fontaxes.sty
       ("figureversion" . 1)
       ;; fontspec.sty



reply via email to

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