emacs-devel
[Top][All Lists]
Advanced

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

accept more version names in file-name-sans-versions


From: Dan Nicolaescu
Subject: accept more version names in file-name-sans-versions
Date: Wed, 19 Sep 2007 18:14:57 -0700

For a file file.c managed by git doing
C-u C-x v = master RET

will create the buffer file.c.~master~ with the major-mode
fundamental-mode not c-mode.

The reason is that file-name-sans-versions only looks for revision
names matching ".~[0-9.]+~", so .~master~ does not match. 

Any reason not to add a-z to that regexp?





reply via email to

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