Subject: bug#25470: 26.0.50; Lock files not removed when auto-save-visited-file-name is t

From: Philipp Stephani <[email-masked]>
Date: Wed, 18 Jan 2017 18:29:06 +0000

Eli Zaretskii <[email-masked]> schrieb am Mi., 18. Jan. 2017 um 18:50 Uhr:

> > From: Philipp Stephani <[email-masked]>
> > Date: Tue, 17 Jan 2017 20:43:33 +0100
> >
> >
> > Customize auto-save-visited-file to t, then edit a buffer and wait until
> > it's auto-saved.  Even after auto-saving the lock file (.#) is still
> > present.  It should be removed after a successful auto-save.
>
> Does the patch below give good results?
>
>
I haven't tested it extensively, but it appears to work as desired. Thanks!