mirror of
https://github.com/zyedidia/micro
synced 2024-11-05 17:41:24 +00:00
bindings:go: Only display saved message if actually saved
This commit is contained in:
parent
b0ef071e94
commit
151df0d2aa
1 changed files with 1 additions and 1 deletions
|
@ -749,10 +749,10 @@ func (v *View) Save() bool {
|
|||
messenger.Error(err.Error())
|
||||
return false
|
||||
}
|
||||
messenger.Message("Saved " + v.Buf.Path)
|
||||
}
|
||||
messenger.Reset()
|
||||
messenger.Clear()
|
||||
messenger.Message("Saved " + v.Buf.Path)
|
||||
} else {
|
||||
messenger.Error(err.Error())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue