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

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

vc-rename-file() if possible otherwise rename-file()


From: Nordlöw
Subject: vc-rename-file() if possible otherwise rename-file()
Date: Tue, 18 Mar 2008 11:23:32 -0700 (PDT)
User-agent: G2/1.0

Looking for a small snippet that does vc-rename-file() when possible
(source file is under version control) otherwise default to rename-
file(). The question is: How do I check if a file is under version
control or not?

Thanks in advance,
Nordlöw


reply via email to

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