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

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

Re: vc-next-action on unregistered files


From: Dan Nicolaescu
Subject: Re: vc-next-action on unregistered files
Date: Mon, 21 Jan 2008 07:27:29 -0800

"Christoph Conrad" <address@hidden> writes:

  > Hi Dan,
  > 
  > > That message should only appear if the file you are trying to register
  > > is already registered with the version control system in use.
  > 
  > No, it's displayed when the file is unregistered. See:
  > 
  > (if (vc-registered fname)
  >     (error "This file is already registered")
  >   (unless (y-or-n-p "Previous master file has vanished.  Make a new one? ")
  >     (error "Aborted")))

Look at the context, that code is inside a (when (vc-backend fname) ...





reply via email to

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