[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to disable file extension auto-detection or auto-action?
From: |
Stefan Monnier |
Subject: |
Re: How to disable file extension auto-detection or auto-action? |
Date: |
Tue, 22 Mar 2011 21:47:18 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> (add-to-list 'auto-mode-alist '("\\.bz2$" . fundamental-mode))
> (it works for me), the other regexp was not correct...
While $ will work, \\' is better since it only matches the end of the
file name, whereas $ also matches the end of a line within a multiline
file names.
Stefan