help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing name format for backup files


From: Óscar Fuentes
Subject: Re: Changing name format for backup files
Date: Tue, 12 Jan 2016 00:26:17 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Nick Helm <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]