mirror of
https://github.com/zyedidia/micro
synced 2024-11-05 17:41:24 +00:00
Merge pull request #189 from onodera-punpun/sudosave
bindings:go: Only display saved message if actually saved
This commit is contained in:
commit
cb238db307
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