Merge remote-tracking branch 'krobelus/fix-autorestore-regression'

This commit is contained in:
Maxime Coste 2022-05-01 20:53:54 +10:00
commit 3e83c17ec8

View File

@ -39,7 +39,7 @@ define-command autorestore-restore-buffer \
## Replace the content of the buffer with the content of the backup file
echo -debug Restoring file: ${newer}
execute-keys -draft %{ %d!cat<space>\"${newer}\"<ret>d }
execute-keys -draft %{%d!cat<space>\"${newer}\"<ret>jd}
## If the backup file has to be removed, issue the command once
## the current buffer has been saved