help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Auto-mode-alist, issue with regexp


From: Saptarshi
Subject: Re: Auto-mode-alist, issue with regexp
Date: Fri, 22 May 2009 09:53:41 -0700 (PDT)
User-agent: G2/1.0

>
> It has to match against full path name. I suggest you try this:
>
>     (add-to-list 'auto-mode-alist
>                  '("/mail\\.google\\.com\\'" . org-mode))

Thank you, I tried this, but got a File Mode specification error:
(invalid-regexp "Trailing Backslash")

The file was called mail.google.com.23234

Emacs is 22.3.1

Thank you
Saptarshi


reply via email to

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