Whenever any new circuit or chancery division is created the judge or chancellor therefor shall be elected at the next general election for any state officer for a term to expire at the next general election for circuit judge and chancellors; provided, that if said new circuit or chancery division is created more than six months before such general election for any state officer, the governor shall appoint some one as judge or chancellor, as the case may be, to hold the office until such election.