Commit 37076840 authored by Yuanle Song's avatar Yuanle Song
Browse files

v2.2.1 should call (zero-input-pinyin-register-im)

once when the code is moved into a function.
parent f281fb16
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ If item is not in lst, return nil."

;; zero-input-el version
(defvar zero-input-version nil "Zero package version.")
(setq zero-input-version "2.2.0")
(setq zero-input-version "2.2.1")

;; FSM state
(defconst zero-input--state-im-off 'IM-OFF)
+2 −0
Original line number Diff line number Diff line
@@ -367,6 +367,8 @@ DIGIT 0 means delete 10th candidate."
      (:preedit-start . zero-input-pinyin-preedit-start)
      (:preedit-end . zero-input-pinyin-preedit-end)))))

(zero-input-pinyin-register-im)

;;============
;; public API
;;============
+4 −2
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
;; See the License for the specific language governing permissions and
;; limitations under the License.

;; Version: 2.2.0
;; Version: 2.2.1
;; URL: https://gitlab.emacsos.com/sylecn/zero-el
;; Package-Requires: ((emacs "24.3") (s "1.2.0"))

@@ -246,7 +246,7 @@ If item is not in lst, return nil."

;; zero-input-el version
(defvar zero-input-version nil "Zero package version.")
(setq zero-input-version "2.2.0")
(setq zero-input-version "2.2.1")

;; FSM state
(defconst zero-input--state-im-off 'IM-OFF)
@@ -1541,6 +1541,8 @@ DIGIT 0 means delete 10th candidate."
      (:preedit-start . zero-input-pinyin-preedit-start)
      (:preedit-end . zero-input-pinyin-preedit-end)))))

(zero-input-pinyin-register-im)

;;============
;; public API
;;============