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

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

Re: auto-saving in other directory


From: Johan Bockgård
Subject: Re: auto-saving in other directory
Date: Thu, 27 Nov 2003 23:20:43 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (usg-unix-v)

Jesper Harder <address@hidden> writes:

> "leo" <address@hidden> writes:
>
>> for backup files (like "filename.~1~) i can easily tell emacs to
>> create them in its own subdirectory via backup-directory-alist.
>>
>> regarding auto-saving files (like "#filename#") this mechanism
>> doesn't exist.
>
> I think you should be able to do it by customizing
> `auto-save-file-name-transforms'.

I thought so too, but I have found this as well (also mentioned in the
Emacs manual):

,----[ C-h f make-auto-save-file-name RET ]
| make-auto-save-file-name is a compiled Lisp function in `files'.
| (make-auto-save-file-name)
| 
| Return file name to use for auto-saves of current buffer. Does not
| consider `auto-save-visited-file-name' as that variable is checked
| before calling this function. You can redefine this for
| customization. See also `auto-save-file-name-p'.
`----

-- 
Johan Bockgård


reply via email to

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