emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] elpa f375c1f 22/35: Fold environments with * in name


From: Tassilo Horn
Subject: [elpa] elpa f375c1f 22/35: Fold environments with * in name
Date: Thu, 1 Sep 2016 15:57:49 +0000 (UTC)

branch: elpa
commit f375c1fa0aa28e68d518dbdfec33f70c146397a1
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>

    Fold environments with * in name
    
    * tex-fold.el (TeX-fold-item): Add asterisk to the regexp matching LaTeX
      environment names.  Fixes bug#24263.
---
 tex-fold.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tex-fold.el b/tex-fold.el
index af1191f..cf4284e 100644
--- a/tex-fold.el
+++ b/tex-fold.el
@@ -468,7 +468,7 @@ Return non-nil if an item was found and folded, nil 
otherwise."
                                   ((eq type 'env)
                                    (concat (regexp-quote TeX-esc)
                                            "begin[ \t]*{"
-                                           "\\([A-Za-z]+\\)}"))
+                                           "\\([A-Za-z*]+\\)}"))
                                   (t
                                    (concat (regexp-quote TeX-esc)
                                            "\\(address@hidden)"))))



reply via email to

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