diff --git a/cmd/micro/actions.go b/cmd/micro/actions.go index 41c89e71..5b64a4d5 100644 --- a/cmd/micro/actions.go +++ b/cmd/micro/actions.go @@ -1016,7 +1016,7 @@ func (v *View) saveToFile(filename string) { // SaveAs saves the buffer to disk with the given name func (v *View) SaveAs(usePlugin bool) bool { if v.mainCursor() { - if usePlugin && !PreActionCall("Find", v) { + if usePlugin && !PreActionCall("SaveAs", v) { return false } @@ -1033,7 +1033,7 @@ func (v *View) SaveAs(usePlugin bool) bool { } if usePlugin { - PostActionCall("Find", v) + PostActionCall("SaveAs", v) } } return false