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

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

bug#8159: file-name-sans-version fails for some git files


From: Chong Yidong
Subject: bug#8159: file-name-sans-version fails for some git files
Date: Sat, 05 Mar 2011 15:36:07 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> So, something like:
>>
>> (defvar file-name-version-regexp
>>   "\\(?:~\\|\\.~[-[:alnum:]:address@hidden(~[[:digit:]]+\\)?~\\)"
>>   ;; The optional ~[[:digit]]+ matches relative versions in git like `HEAD~2'
>>   "Regular expression matching the backup/version part of a file name.
>> Used by `file-name-sans-versions'.")
>
> Yes, that's fine.  Thanks.

Committed to trunk.





reply via email to

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