all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* vc-cvs-make-version-backups-p
@ 2009-06-22 14:22 weber
  2009-06-25  3:59 ` vc-cvs-make-version-backups-p Kevin Rodgers
  0 siblings, 1 reply; 2+ messages in thread
From: weber @ 2009-06-22 14:22 UTC (permalink / raw
  To: help-gnu-emacs

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?


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

* Re: vc-cvs-make-version-backups-p
  2009-06-22 14:22 vc-cvs-make-version-backups-p weber
@ 2009-06-25  3:59 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2009-06-25  3:59 UTC (permalink / raw
  To: help-gnu-emacs

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





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

end of thread, other threads:[~2009-06-25  3:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-22 14:22 vc-cvs-make-version-backups-p weber
2009-06-25  3:59 ` vc-cvs-make-version-backups-p Kevin Rodgers

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.