All vacancies in any elective state or county office, unless otherwise provided for by law, shall be filled by appointment by the governor, until the next general election after such vacancy occurs, when such vacancy shall be filled by election. When any elected office is provided by law to be filled by appointment by the governor of a person selected by a party district convention, and the immediately past incumbent of such office was an independent without political party affiliation, the vacancy shall be filled by appointment by the governor, until the next general election after such vacancy occurs, when such vacancy shall be filled by election. If any vacancy shall occur in any state office which is to be abolished, the appointment to fill such vacancy shall extend until the date of such abolition and only until such date.
K.S.A. 25-312