From: "Óscar Fuentes" <ofv@wanadoo.es>
To: help-gnu-emacs@gnu.org
Subject: Re: Changing name format for backup files
Date: Tue, 12 Jan 2016 00:26:17 +0100 [thread overview]
Message-ID: <87io2zem06.fsf@wanadoo.es> (raw)
In-Reply-To: m2lh7v2217.fsf@tenpoint.co.nz
Nick Helm <nick@tenpoint.co.nz> writes:
> I do something similar to `make-auto-save-file-name' to achieve the
> same result for auto save files.
>
> Redefining core functions seems like a pretty heavy handed approach to the
> problem though. Is there better way to achieve the same result? Or perhaps
> there's a user option I missed in the manual?
For overriding how a function work, see defadvice.
However, often there are variables that control how some feature works.
For your case, those seems to apply:
C-h v make-backup-file-name-function
C-h v auto-save-file-name-transforms
next prev parent reply other threads:[~2016-01-11 23:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-11 22:21 Changing name format for backup files Nick Helm
2016-01-11 23:26 ` Óscar Fuentes [this message]
2016-01-12 22:32 ` Nick Helm
2016-01-13 14:34 ` Alex Kost
2016-01-15 4:53 ` Nick Helm
2016-01-15 9:53 ` Alex Kost
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=87io2zem06.fsf@wanadoo.es \
--to=ofv@wanadoo.es \
--cc=help-gnu-emacs@gnu.org \
/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.