diff --git a/data/apps/red.lua b/data/apps/red.lua index 16d3f6b..58e3c2c 100644 --- a/data/apps/red.lua +++ b/data/apps/red.lua @@ -247,7 +247,7 @@ local io_delim = { function win:save() if not self.buf:isfile() then - return + return false, "Buffer is not writable file" end local trim = self:getconf 'trim_spaces' if trim then