unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* vc-rename-file() if possible otherwise rename-file()
@ 2008-03-18 18:23 Nordlöw
  2008-03-18 19:13 ` Thierry Volpiatto
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Nordlöw @ 2008-03-18 18:23 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-19  0:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-18 18:23 vc-rename-file() if possible otherwise rename-file() Nordlöw
2008-03-18 19:13 ` Thierry Volpiatto
2008-03-18 19:26 ` Nikolaj Schumacher
     [not found] ` <2fd1cf38-57e5-4ce1-b79c-8eee6aa25b8e@s13g2000prd.googlegro ups.com>
2008-03-19  0:40   ` Johan Lindström

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).