branch: main
commit 79e0b72b347f801526e98872c4b940d866d78e1d
Author: Paul Nelson <[email protected]>
Commit: Paul Nelson <[email protected]>

    tex-fold: Add starred list environments
    
    * tex-fold.el (TeX-fold-begin-end-spec-list): Add starred
    variants of itemize, enumerate, and description environments to
    the list of environments that can be folded.
---
 tex-fold.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tex-fold.el b/tex-fold.el
index 20c8d27a..8242a728 100644
--- a/tex-fold.el
+++ b/tex-fold.el
@@ -645,7 +645,8 @@ Return non-nil if a comment was found and folded, nil 
otherwise."
 
 (defcustom TeX-fold-begin-end-spec-list
   '((("↴" . "↲")
-     ("itemize" "enumerate" "description" "frame"))
+     ("itemize" "enumerate" "description" "frame"
+      "itemize*" "enumerate*" "description*"))
     ((TeX-fold-format-titled-block . "◼")
      ("block"))
     ((TeX-fold-format-titled-alertblock . "◼")

Reply via email to