🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87327

Re: version control

#87327
From: Lawrence R. Dodd
Date: Sat, 01 Oct 1994 14:55
35 lines
1982 bytes
Sorry that last one was missing a `()' in the `let' form.

Sat Oct  1 10:40:31 1994  Lawrence R. Dodd  <dodd@roebling.poly.edu>

	* vc-hooks.el (vc-name): If FILE's master file exists return it.
	Otherwise, clear FILE's vc-name buffer property.

cd /usr/local/lib/emacs/19.27/lisp/
diff -c vc-hooks.el.orig vc-hooks.el
*** vc-hooks.el.orig	Thu May 19 17:58:26 1994
--- vc-hooks.el	Sat Oct  1 10:53:02 1994
***************
*** 101,107 ****
  
  (defun vc-name (file)
    "Return the master name of a file, nil if it is not registered."
!   (or (vc-file-getprop file 'vc-name)
        (let ((name-and-type (vc-registered file)))
  	(if name-and-type
  	    (progn
--- 101,113 ----
  
  (defun vc-name (file)
    "Return the master name of a file, nil if it is not registered."
!   (or (let ((master (vc-file-getprop file 'vc-name)))
!         (if master
!             ;; If there is a master file and it exists, return it. 
!             (if (file-exists-p master)
!                 master
!               ;; If it does not exist, clear vc-name buffer property.
!               (vc-file-setprop buffer-file-name 'vc-name nil))))
        (let ((name-and-type (vc-registered file)))
  	(if name-and-type
  	    (progn
Technical Details
Message-ID: <9410011454.AA08122@roebling.poly.edu>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!roebling.poly.EDU!dodd
References: <9409271445.AA17546@france.watson.ibm.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,912b148eadd41177
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-10-01 20:56:27 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!roebling.poly.EDU!dodd
From: dodd@roebling.poly.EDU (Lawrence R. Dodd)
Newsgroups: gnu.emacs.bug
Subject: Re: version control
Date: 1 Oct 1994 10:55:26 -0400
Organization: GNUs Not Usenet
Lines: 38
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9410011454.AA08122@roebling.poly.edu>
References: <9409271445.AA17546@france.watson.ibm.com>
Reply-To: dodd@roebling.poly.edu