# HG changeset patch # User Nick Roberts # Date 1233304550 0 # Node ID 269a73f8302546c8624e3f4b677c447746ba66d2 # Parent 3e7257e620b53189638f95a53eb861733f694597 (vc-stay-local-p): Let vc-BACKEND-stay-local take precedence even when it's value is t. diff -r 3e7257e620b5 -r 269a73f83025 lisp/vc-hooks.el --- a/lisp/vc-hooks.el Fri Jan 30 08:35:36 2009 +0000 +++ b/lisp/vc-hooks.el Fri Jan 30 08:35:50 2009 +0000 @@ -177,8 +177,7 @@ (delq nil (mapcar 'vc-stay-local-p file)) (let* ((backend (vc-backend file)) (sym (vc-make-backend-sym backend 'stay-local)) - (stay-local (if (boundp sym) (symbol-value sym) t))) - (if (eq stay-local t) (setq stay-local vc-stay-local)) + (stay-local (if (boundp sym) (symbol-value sym) vc-stay-local))) (if (symbolp stay-local) stay-local (let ((dirname (if (file-directory-p file) (directory-file-name file)