Saute onions in butter until tender. Add rice, mushrooms, and salt. Heat thoroughly. Fluff lightly with a fork.