Le 16/12/16 à 15h44, Mosè Giordano a écrit : > 2016-12-16 15:34 GMT+01:00 Denis Bitouzé <[email protected]>: >> I see. So you meant `myenv' instead of `foo', don't you? > > Yes, I didn't look back to the name of the environment ;-)
Hence my puzzlement :) >> Anyway, regarding your explanation, I couldn't see the point with the >> `\' before `\|myenv' in: >> >> ┌──── >> │ (setq LaTeX-document-regexp "document\\|myenv") >> └──── > > The plain regexp would actually be > > document\|myenv > > but in Lisp code you have to escape the backslash, so you should use > > document\\|myenv > > See https://www.emacswiki.org/emacs/RegularExpression#RegexpsInEmacs OK, thanks! -- Denis _______________________________________________ auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex
