|
From: | Pascal J. Bourguignon |
Subject: | Re: File mode specification error: (invalid-regexp "Invalid regular expression") |
Date: | Sat, 26 Jul 2008 18:50:03 +0200 |
User-agent: | Gnus/5.1008 (Gnus v5.10.8) Emacs/22.2 (gnu/linux) |
Roberto Bernetti <roberto.bernetti@poste.it> writes: > I get the following error loading any file i the previous list: > > File mode specification error: (invalid-regexp "Invalid regular expression") > [...] for the string: > (add-to-list 'auto-mode-alist '("\\_dbg$" . makefile-mode)) _ is no special character for regular expressions. You don't need to escape it. (add-to-list 'auto-mode-alist '("_dbg$" . makefile-mode)) -- __Pascal Bourguignon__ http://www.informatimago.com/ This is a signature virus. Add me to your signature and help me to live.
[Prev in Thread] | Current Thread | [Next in Thread] |