aboutsummaryrefslogtreecommitdiff
path: root/editor/editor.go
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor.go')
-rw-r--r--editor/editor.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/editor/editor.go b/editor/editor.go
index 87b3eff..adf2f95 100644
--- a/editor/editor.go
+++ b/editor/editor.go
@@ -91,10 +91,6 @@ func (e *ed) LoadBuffers(fns []string) {
buf.NewFile(fn)
buf.ReadFile()
}
-
- if len(fns) == 0 {
- e.NewBuffer()
- }
}
func (e *ed) genBufferID() int64 {