[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 1636 - trunk/tools/dev

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-04-06 01:45:22 CEST

kfogel@tigris.org writes:

> +(defun svn-find-file-hook ()
> + "Function for find-file-hooks.
> +Inhibit backup files unless `vc-make-backup-files' is non-nil."
> + (if (svn-controlled-path-p (buffer-file-name))
> + (progn
> + (unless vc-make-backup-files
> + (make-local-variable 'backup-inhibited)
> + (setq backup-inhibited t)))))
> +
> +(add-hook 'find-file-hooks 'svn-find-file-hook)

When I load a Subversion file into XEmacs 21.4 I get the error

   Symbol's value as variable is void: vc-make-backup-files

and the file fails to load. This problem goes away once I execute
vc-load-vc-hooks.

-- 
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Apr 6 01:46:09 2002

This is an archived mail posted to the Subversion Dev mailing list.