From 8c4d6b1861cb1d885cd42b3316c83b518409c359 Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Tue, 11 Aug 2015 09:25:58 +0300 Subject: [PATCH] Add quotes around the messages to be displayed in :echo calls --- rc/autorestore.kak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/autorestore.kak b/rc/autorestore.kak index 544d558e..6c5b3da7 100644 --- a/rc/autorestore.kak +++ b/rc/autorestore.kak @@ -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${latest_backup_path}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