> From: Philipp Stephani <p.stephani2@gmail.com>
> 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?