From: Rob Giardina <rgiar@yahoo.com>
Subject: non-working make-backup-file-name-function var in 21
Date: Mon, 26 Aug 2002 13:15:51 -0700 [thread overview]
Message-ID: <uvg5xe5qg.fsf@yahoo.com> (raw)
>> In GNU Emacs 21.1.1 (i386-msvc-nt5.1.2600)
>> of 2001-10-22 on buffy
>> configured using `configure --with-msvc (12.00)'
I wrote a customized make-backup-file-name-function and found that it
wasn't being called. I think the v21 changes to support backup-dir
functionality introduced this problem. Here's a diff of files.el that
I think fixes it:
--- files.el.old 2002-08-26 13:09:17.000000000 -0700
+++ files.el 2002-08-26 12:56:32.000000000 -0700
@@ -2399,7 +2399,7 @@
(and (eq system-type 'ms-dos)
(not (msdos-long-file-names))))
(list (make-backup-file-name fn))
- (let* ((basic-name (make-backup-file-name-1 fn))
+ (let* ((basic-name (make-backup-file-name fn))
(base-versions (concat (file-name-nondirectory basic-name)
".~"))
(backup-extract-version-start (length base-versions))
The problem was that make-backup-file-name-1 was called directly which
bypasses the check for a customized make-backup-file-name-function.
Regards,
Rob Giardina
reply other threads:[~2002-08-26 20:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uvg5xe5qg.fsf@yahoo.com \
--to=rgiar@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.