auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. a033c30c90bfe01e47d72


From: Arash Esbati
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. a033c30c90bfe01e47d7231f2f7539aceb5476d9
Date: Fri, 24 May 2019 15:34:37 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  a033c30c90bfe01e47d7231f2f7539aceb5476d9 (commit)
      from  af158140f343305967dfc0d4d3ca763e28c540aa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a033c30c90bfe01e47d7231f2f7539aceb5476d9
Author: Arash Esbati <address@hidden>
Date:   Fri May 24 21:32:53 2019 +0200

    ; Use `LaTeX-extract-key-value-label'
    
    * style/fancyvrb.el (LaTeX-fancyvrb-key-val-skip-regexp): Require
    latex.el and use `LaTeX-extract-key-value-label' to build the
    regexp.

diff --git a/style/fancyvrb.el b/style/fancyvrb.el
index 32adcd4..1354e3b 100644
--- a/style/fancyvrb.el
+++ b/style/fancyvrb.el
@@ -45,6 +45,7 @@
 
 ;; Needed for auto-parsing:
 (require 'tex)
+(require 'latex)
 
 ;; Silence the compiler:
 (declare-function font-latex-add-keywords
@@ -129,14 +130,7 @@ Starred versions are not included in this list.")
 Starred versions are not included in this list.")
 
 (defvar LaTeX-fancyvrb-key-val-skip-regexp
-  (concat
-   "\\(?:\\[[^][]*"
-     "\\(?:{[^}{]*"
-       "\\(?:{[^}{]*"
-        "\\(?:{[^}{]*}[^}{]*\\)*"
-       "}[^}{]*\\)*"
-     "}[^][]*\\)*"
-   "\\]\\)?")
+  (concat "\\(?:" (LaTeX-extract-key-value-label 'none) "\\)?")
   "Helper regexp to skip over an optional argument.")
 
 ;; Setup for defining new Verbatim commands:

-----------------------------------------------------------------------

Summary of changes:
 style/fancyvrb.el | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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