Add quotes around the messages to be displayed in :echo calls

This commit is contained in:
Frank LENORMAND 2015-08-11 09:25:58 +03:00
parent f5e4562bd9
commit 8c4d6b1861

View File

@ -21,7 +21,7 @@ def autorestore-restore-buffer -docstring "Restore the backup for the current fi
## Replace the content of the buffer with the content of the backup file
echo "
exec -draft %{ %d!cat<space>${latest_backup_path}<ret>d }
echo -color Information Backup restored
echo -color Information 'Backup restored'
"
## If the backup file has to be removed, issue the command once
@ -50,7 +50,7 @@ def autorestore-purge-backups -docstring "Remove all the backups of the current
find "${buffer_dirname}" -maxdepth 1 -type f -readable -name "\.${buffer_basename}\.kak\.*" -delete 2>/dev/null
}
echo -color 'Information Backup files removed'
echo -color Information 'Backup files removed'
}
## If for some reason, backup files need to be ignored