/[auctex]/auctex/tex-fold.el
ViewVC logotype

Diff of /auctex/tex-fold.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.41 by angeli, Thu Apr 14 07:22:38 2005 UTC revision 1.42 by angeli, Mon Apr 18 08:34:07 2005 UTC
# Line 257  environments or 'macro for macros." Line 257  environments or 'macro for macros."
257                                        "begin[ \t]*{"                                        "begin[ \t]*{"
258                                        (regexp-opt item-list t) "}"))                                        (regexp-opt item-list t) "}"))
259                               (t                               (t
                               ;; "\\_>" is only available with Emacs  
                               ;; 21.4 or later (checked into CVS Emacs  
                               ;; on 2004-05-19). (This could be used in  
                               ;; font-latex as well for  
                               ;; `font-latex-match-variable-make' and  
                               ;; friends instead of "\\>" and would fix  
                               ;; issues with starred macros.)  
260                                (concat (regexp-quote TeX-esc)                                (concat (regexp-quote TeX-esc)
261                                        (regexp-opt item-list t)                                        (regexp-opt item-list t)
262                                        (if (string-match "\\_>" "X")                                        "[^A-Za-z@*]"))))
                                           "\\_>"  
                                         "[^A-Za-z@*]")))))  
263            (save-restriction            (save-restriction
264              (narrow-to-region start end)              (narrow-to-region start end)
265              ;; Start from the bottom so that it is easier to prioritize              ;; Start from the bottom so that it is easier to prioritize

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26