From: André Spiegel Date: Fri, 27 Jan 2006 19:12:42 +0000 (+0000) Subject: (vc-sccs-state): Pass FILE to vc-user-login-name. X-Git-Tag: emacs-pretest-22.0.90~4554 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bda6736f633988f16d617447b357b57026f8182e;p=emacs.git (vc-sccs-state): Pass FILE to vc-user-login-name. --- diff --git a/lisp/vc-sccs.el b/lisp/vc-sccs.el index c4047d1b3ec..ef2c8b34ff1 100644 --- a/lisp/vc-sccs.el +++ b/lisp/vc-sccs.el @@ -108,7 +108,7 @@ For a description of possible values, see `vc-check-master-templates'." (if (vc-workfile-unchanged-p file) 'up-to-date 'unlocked-changes) - (if (string= locking-user (vc-user-login-name)) + (if (string= locking-user (vc-user-login-name file)) 'edited locking-user))) 'up-to-date)))