aboutsummaryrefslogtreecommitdiff
path: root/core/file_io.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2009-02-10 10:02:06 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2009-02-10 10:02:06 -0500
commit59c9eb6528d1759bc2734150cb3d99ec2e3eab5b (patch)
treeac3acec9ffd7ec3835149ff79bca736f8e337f3f /core/file_io.lua
parent5e83c949c15f75858e1602a6989c8c3d20753be3 (diff)
downloadtextadept-59c9eb6528d1759bc2734150cb3d99ec2e3eab5b.tar.gz
textadept-59c9eb6528d1759bc2734150cb3d99ec2e3eab5b.zip
Use a _type field for special _print() buffers' titles instead of 'Untitled'.
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
---