Subject: bug#38875: 26.2; auto-save-list-file-name still created when auto-save-default is nil

From: Eli Zaretskii <[email-masked]>
Date: Thu, 02 Jan 2020 20:55:44 +0200

> From: João Guerra <[email-masked]>
> Date: Thu, 2 Jan 2020 19:26:15 +0100
> 
> auto-save-list-file-name is still created in the file system when
> auto-save-default is nil. This behaviour is a bit annoying since Emacs
> will always create a lingering file that will end up not using.
> 
> My configuration is as follows:
> 
> ;; disable auto save
> (setq auto-save-default nil
>       auto-save-list-file-name (concat +backups-dir+ (format
> ".auto-save-%s" (emacs-pid))))

I seem to be unable to reproduce this.  You are saying that just
starting Emacs with the above settings causes the
auto-save-list-file-name to appear in the file system?  It doesn't
seem to happen here.

In any case, you supposed to customize auto-save-list-file-prefix, not
auto-save-list-file-name directly.  Setting auto-save-list-file-prefix
to nil will prevent Emacs from initializing auto-save-list-file-name.

Thanks.