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

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

Re: vc-cvs-make-version-backups-p


From: Kevin Rodgers
Subject: Re: vc-cvs-make-version-backups-p
Date: Wed, 24 Jun 2009 21:59:52 -0600
User-agent: Thunderbird 2.0.0.22 (Macintosh/20090605)

weber wrote:
Hi guys,
I couldn't find a way for Emacs not to make backups for files recently
checked out of the server.
Inspecting a little bit, it seems that 'vc-cvs-make-version-backups-p'
doesn't depend on any user configuration.
This function is called by 'vc-before-save' which ends up doing a
backup.
Anyone knows why is this so?

From vc-cvs.el:

(defalias 'vc-cvs-make-version-backups-p 'vc-stay-local-p
  "Return non-nil if version backups should be made for FILE.")

So, read up on vc-stay-local-p (the function), then customize vc-cvs-stay-local or vc-stay-local (the variables). E.g.

(setq vc-cvs-stay-local '(except "mycvsserver"))

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

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