aboutsummaryrefslogtreecommitdiff
path: root/core/file_io.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/file_io.lua')
-rw-r--r--core/file_io.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/file_io.lua b/core/file_io.lua
index d296aa03..4dce2721 100644
--- a/core/file_io.lua
+++ b/core/file_io.lua
@@ -100,6 +100,7 @@ function save(buffer)
else
textadept.events.error(err)
end
+ if buffer._type then buffer._type = nil end
end
---