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

v2.0.4 add autoload for zero-input-mode

and zero-input-toggle alias.
parent 9d1f77fe
Loading
Loading
Loading
Loading
+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.0.3
;; Version: 2.0.4
;; URL: https://gitlab.emacsos.com/sylecn/zero-el
;; Package-Requires: ((emacs "24.3") (s "1.2.0"))

@@ -243,7 +243,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.0.3")
(setq zero-input-version "2.0.4")

;; FSM state
(defconst zero-input--state-im-off 'IM-OFF)
@@ -777,6 +777,7 @@ If full-width mode is enabled, show ZeroF;
Otherwise, show Zero."
  (if zero-input-full-width-p " ZeroF" " Zero"))

;;;###autoload
(define-minor-mode zero-input-mode
  "a Chinese input method framework written as an emacs minor mode.

@@ -949,6 +950,7 @@ if IM-NAME is nil, use default empty input method"
  (interactive)
  (zero-input-mode -1))

;;;###autoload
(define-obsolete-function-alias 'zero-input-toggle 'zero-input-mode
  "Zero-input v2.0.2" "Toggle `zero-input-mode'.")