auctex-diffs
[Top][All Lists]
Advanced

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

master 91e863aa 1/2: Improve spelling skip support for fancyvrb macros


From: Arash Esbati
Subject: master 91e863aa 1/2: Improve spelling skip support for fancyvrb macros
Date: Tue, 11 Apr 2023 08:43:36 -0400 (EDT)

branch: master
commit 91e863aa3848492347da763eff3f537bf658f4fa
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>

    Improve spelling skip support for fancyvrb macros
    
    * tex-ispell.el (TeX-ispell-skip-cmds-list): Improve skip support
    for macros provided by fancyvrb package.
---
 tex-ispell.el | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/tex-ispell.el b/tex-ispell.el
index adf91f87..3719615b 100644
--- a/tex-ispell.el
+++ b/tex-ispell.el
@@ -1,6 +1,6 @@
 ;;; tex-ispell.el --- AUCTeX skip additions for Ispell  -*- lexical-binding: 
t; -*-
 
-;; Copyright (C) 2016-2022 Free Software Foundation, Inc.
+;; Copyright (C) 2016-2023 Free Software Foundation, Inc.
 
 ;; Author: Arash Esbati <arash@gnu.org>
 ;; Maintainer: auctex-devel@gnu.org
@@ -168,6 +168,14 @@
       ("Fref" . 1)
       ;; fancyvrb.sty
       ("fvset" . 1)
+      ("UseVerb" . 1)
+      ("UseVerb*" . 1)
+      ("UseVerbatim" . 1)
+      ("UseVerbatim*" . 1)
+      ("BUseVerbatim" . 1)
+      ("BUseVerbatim*" . 1)
+      ("LUseVerbatim" . 1)
+      ("LUseVerbatim*" . 1)
       ("VerbatimInput" . 1)
       ;; fontaxes.sty
       ("figureversion" . 1)
@@ -343,6 +351,8 @@ Environments for math or verbatim text are candidates for 
this list."))
    ("\\\\raisebox" TeX-ispell-tex-arg-end 1 2 0)
    ;; booktabs.sty
    ("\\\\cmidrule" . "{[-0-9]+}")
+   ;; fancyvrb.sty
+   ("\\\\SaveVerb" TeX-ispell-tex-arg-verb-end 1)
    ;; fontspec.sty
    ("\\\\fontspec" TeX-ispell-tex-arg-end 1 1 0)))
 



reply via email to

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