[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Redifine make-backup-file-name has no effect
From: |
Eli Zaretskii |
Subject: |
Re: Redifine make-backup-file-name has no effect |
Date: |
Fri, 26 Oct 2001 14:28:13 +0200 |
> From: Jan Djarv <Jan.Djarv@epl.ericsson.se>
> Date: Fri, 26 Oct 2001 10:23:14 +0200 (MEST)
>
> In emacs 19 and 20 theses functions worked fine to make backup file name to be
> .BAK.file instead of file~. In 21.1 these do nothing, file~ is always created
> regardless of what make-backup-file-name is or what the variable
> make-backup-file-name-function is set to.
Before Emacs 21.1, redefining these functions was dangerous and had
subtle misfeatures as side-effects. Emacs 21.1 introduces
user-customizable options `backup-directory-alist' and
`make-backup-file-name-function'; please use them instead of what you
did before.
If you already tried to customize `make-backup-file-name-function' and
it didn't work, please send the details (how did you define the
replacement function, how did you set the value of
`make-backup-file-name-function' to point to your replacement, and
what did Emacs do in response.