branch: externals/auctex commit 798b1fae863722e369f140464eb03b079f4556d8 Author: Arash Esbati <ar...@gnu.org> Commit: Arash Esbati <ar...@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 530b0621c6..49711f2f3a 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-de...@gnu.org ;; Author: Mosè Giordano <m...@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 7915df3043..73ff5c9e17 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