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

v2.0.1 fix some variable name in comment/docstring

parent 1df58b58
......@@ -12,9 +12,9 @@
;; See the License for the specific language governing permissions and
;; limitations under the License.
;; Version: 2.0.0
;; Version: 2.0.1
;; URL: https://gitlab.emacsos.com/sylecn/zero-el
;; Package-Version: 2.0.0
;; Package-Version: 2.0.1
;; Package-Requires: ((emacs "24.3") (s "1.2.0"))
;;; Commentary:
......@@ -41,7 +41,7 @@
;; buffer by C-c , , You can change default Chinese punctuation level:
;;
;; (setq-default zero-input-punctuation-level
;; *zero-input-punctuation-level-full*)
;; zero-input-punctuation-level-full)
;;
;; zero-input supports full-width mode. You can toggle full-width mode in
;; current buffer by C-c , . You can enable full-width mode by default:
......@@ -244,7 +244,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.0")
(setq zero-input-version "2.0.1")
;; FSM state
(defconst zero-input--state-im-off 'IM-OFF)
......@@ -1203,7 +1203,7 @@ You can find the xml file locally at
:type 'integer
:group 'zero-input-pinyin)
(defvar zero-input-pinyin-state nil "Zero-Input-pinyin internal state. could be nil or `*zero-input-pinyin-state-im-partial-commit*'.")
(defvar zero-input-pinyin-state nil "Zero-input-pinyin internal state. could be nil or `zero-input-pinyin--state-im-partial-commit'.")
(defconst zero-input-pinyin--state-im-partial-commit 'IM-PARTIAL-COMMIT)
(defvar zero-input-pinyin-used-preedit-str-lengths nil
......@@ -1232,11 +1232,11 @@ You can find the xml file locally at
(zero-input-pinyin-reset))
(defun zero-input-pinyin-preedit-start ()
"Called when enter `*zero-input-state-im-preediting*' state."
"Called when enter `zero-input--state-im-preediting' state."
(define-key zero-input-mode-map [remap digit-argument] 'zero-input-digit-argument))
(defun zero-input-pinyin-preedit-end ()
"Called when leave `*zero-input-state-im-preediting*' state."
"Called when leave `zero-input--state-im-preediting' state."
(define-key zero-input-mode-map [remap digit-argument] nil))
(defun zero-input-pinyin-shutdown ()
......@@ -1392,7 +1392,7 @@ This is different from zero-input-framework because I need to support partial co
(zero-input-just-page-down))))
(defun zero-input-pinyin-handle-preedit-char (ch)
"Hanlde character insert in `*zero-input-state-im-preediting*' state.
"Hanlde character insert in `zero-input--state-im-preediting' state.
Override `zero-input-handle-preedit-char-default'.
CH the character user typed."
......@@ -1431,7 +1431,7 @@ CH the character user typed."
(zero-input-preedit-str-changed))
(defun zero-input-pinyin-backspace ()
"Handle backspace key in `*zero-input-state-im-preediting*' state."
"Handle backspace key in `zero-input--state-im-preediting' state."
(if (eq zero-input-pinyin-state zero-input-pinyin--state-im-partial-commit)
(zero-input-pinyin-preedit-str-changed)
(zero-input-backspace-default)))
......@@ -1451,7 +1451,7 @@ DIGIT 0 means delete 10th candidate."
candidate 'zero-input-pinyin-preedit-str-changed))))
(defun zero-input-digit-argument ()
"Allow C-<digit> to DeleteCandidate in `*zero-input-state-im-preediting*' state."
"Allow C-<digit> to DeleteCandidate in `zero-input--state-im-preediting' state."
(interactive)
(unless (eq zero-input-state zero-input--state-im-preediting)
(error "`zero-input-digit-argument' called in non preediting state"))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment