unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andre Spiegel <spiegel@gnu.org>
Subject: Re: How to inhibit version control for a single command.
Date: Fri, 22 Aug 2003 20:54:43 +0200	[thread overview]
Message-ID: <1061578483.484.31.camel@localhost> (raw)
In-Reply-To: <3F454D46.7080105@yahoo.com>

On Fri, 2003-08-22 at 00:52, Kevin Rodgers wrote:

> (defmacro with-vc-disabled (&rest body)
>    "Execute BODY forms with version control disabled.
> Temporarily bind `vc-rcs-master-templates' and `vc-sccs-master-templates'
> to nil."

This should clearly not be necessary: setting vc-handled-backends to nil
is all that you need.  The vc-BACKEND-master-templates mechanism is
actually only used for RCS and SCCS nowadays, it is not a general
mechanism that would suit all kinds of version control backends.  CVS,
for example, no longer uses it.  vc-handled-backends tells VC which
backends it should watch out for, and each backend can have its own idea
how to determine if a file is controlled by it.  Setting
vc-handled-backends to nil simply disables VC for all backends.

  reply	other threads:[~2003-08-22 18:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-20  0:59 How to inhibit version control for a single command Kim F. Storm
2003-08-21 15:46 ` Andre Spiegel
2003-08-21 16:47 ` Stefan Monnier
2003-08-25  9:55   ` Kim F. Storm
2003-08-21 22:52 ` Kevin Rodgers
2003-08-22 18:54   ` Andre Spiegel [this message]
2003-08-23 10:12 ` Andre Spiegel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1061578483.484.31.camel@localhost \
    --to=spiegel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

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).