🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #8345

Re: how to change backup file names?

#8345
From: Mike Coffin
Date: Fri, 20 Jan 1989 00:40
20 lines
1306 bytes
From article <47991@yale-celray.yale.UUCP> by Ram-Ashwin@cs.yale.edu:
> Hmmm... an 'apropos' on 'backup' reveals:
>     find-backup-file-name: [...]
> and:
>     make-backup-file-name: [...]
> Why are there two functions?  Does one call the other?  Which is the right
> one to redefine for customization?

A quick look at the source reveals that find-backup-file-name calls
make-backup-file-name.  The latter is the one to change; I should have
looked before I shot my mouth off.  In my defense, I did the
modifications to find-backup-file-name quite a while ago; at that time
it did the file-name creation in-line.  Since it kept working, I never
noticed that there's now an easier way to do it.

The right way to do things now is to just fix make-backup-file-name.
-- 
Mike Coffin				mike@arizona.edu
Univ. of Ariz. Dept. of Comp. Sci.	{allegra,cmcl2}!arizona!mike
Tucson, AZ  85721			(602)621-2858
Technical Details
Message-ID: <8791@megaron.arizona.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!agate!bionet!ig!arizona!mike
References: <47991@yale-celray.yale.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!agate!bionet!ig!arizona!mike
From: mike@arizona.edu (Mike Coffin)
Newsgroups: comp.emacs
Subject: Re: how to change backup file names?
Message-ID: <8791@megaron.arizona.edu>
Date: 20 Jan 89 00:40:21 GMT
References: <47991@yale-celray.yale.UUCP>
Organization: U of Arizona CS Dept, Tucson
Lines: 20