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

v1.3.1 fix checkdoc problems.

parent c1f19cdd
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -132,7 +132,7 @@ If item is not in lst, return nil."

;; zero-el version
(defvar zero-version nil "Zero package version.")
(setq zero-version "1.3.0")
(setq zero-version "1.3.1")

;; FSM state
(defconst zero--state-im-off 'IM-OFF)
@@ -167,9 +167,9 @@ independent from punctuation map. You can change this via
  "Punctuation level.

Should be one of
zero-punctuation-level-basic
zero-punctuation-level-full
zero-punctuation-level-none")
`zero-punctuation-level-basic'
`zero-punctuation-level-full'
`zero-punctuation-level-none'")
(defvar zero-punctuation-levels (list zero-punctuation-level-basic
				      zero-punctuation-level-full
				      zero-punctuation-level-none)
@@ -374,7 +374,7 @@ If there is no full-width char for CH, return it unchanged."
      full-width-ch)))

(defun zero-convert-punctuation-basic (ch)
  "Convert punctuation for zero-punctuation-level-basic.
  "Convert punctuation for `zero-punctuation-level-basic'.

Return CH's Chinese punctuation if CH is converted.  Return nil otherwise."
  (cl-case ch
@@ -387,7 +387,7 @@ Return CH's Chinese punctuation if CH is converted. Return nil otherwise."
    (otherwise nil)))

(defun zero-convert-punctuation-full (ch)
  "Convert punctuation for zero-punctuation-level-full.
  "Convert punctuation for `zero-punctuation-level-full'.

Return CH's Chinese punctuation if CH is converted.  Return nil otherwise"
  (cl-case ch
+9 −5
Original line number Diff line number Diff line
@@ -36,14 +36,18 @@
;; basic data and emacs facility
;;===============================

;; these two var is only used in docstring to avoid checkdoc line-too-long
;; error.
(defvar zero-pinyin-service-interface-xml-file
  "/usr/share/dbus-1/interfaces/com.emacsos.zero.ZeroPinyinService1.ZeroPinyinServiceInterface.xml")
(defvar zero-pinyin-service-interface-xml-url
  "https://gitlab.emacsos.com/sylecn/zero-pinyin-service/blob/master/com.emacsos.zero.ZeroPinyinService1.ZeroPinyinServiceInterface.xml")
(defcustom zero-pinyin-fuzzy-flag 0
  "FuzzyFlag for pinyin.
  "Non-nil means use this value as FuzzyFlag.
see zero-pinyin-service dbus interface xml for flag value and meaning.

You can check the xml file locally at
/usr/share/dbus-1/interfaces/com.emacsos.zero.ZeroPinyinService1.ZeroPinyinServiceInterface.xml
or online at
https://gitlab.emacsos.com/sylecn/zero-pinyin-service/blob/master/com.emacsos.zero.ZeroPinyinService1.ZeroPinyinServiceInterface.xml"
You can find the xml file locally at `zero-pinyin-service-interface-xml-file'
or online at `zero-pinyin-service-interface-xml-url'."
  :type 'integer
  :group 'zero-pinyin)

+24 −20
Original line number Diff line number Diff line
@@ -12,9 +12,9 @@
;; See the License for the specific language governing permissions and
;; limitations under the License.

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

;;; Commentary:
@@ -243,7 +243,7 @@ If item is not in lst, return nil."

;; zero-el version
(defvar zero-version nil "Zero package version.")
(setq zero-version "1.3.0")
(setq zero-version "1.3.1")

;; FSM state
(defconst zero--state-im-off 'IM-OFF)
@@ -278,9 +278,9 @@ independent from punctuation map. You can change this via
  "Punctuation level.

Should be one of
zero-punctuation-level-basic
zero-punctuation-level-full
zero-punctuation-level-none")
`zero-punctuation-level-basic'
`zero-punctuation-level-full'
`zero-punctuation-level-none'")
(defvar zero-punctuation-levels (list zero-punctuation-level-basic
				      zero-punctuation-level-full
				      zero-punctuation-level-none)
@@ -485,7 +485,7 @@ If there is no full-width char for CH, return it unchanged."
      full-width-ch)))

(defun zero-convert-punctuation-basic (ch)
  "Convert punctuation for zero-punctuation-level-basic.
  "Convert punctuation for `zero-punctuation-level-basic'.

Return CH's Chinese punctuation if CH is converted.  Return nil otherwise."
  (cl-case ch
@@ -498,7 +498,7 @@ Return CH's Chinese punctuation if CH is converted. Return nil otherwise."
    (otherwise nil)))

(defun zero-convert-punctuation-full (ch)
  "Convert punctuation for zero-punctuation-level-full.
  "Convert punctuation for `zero-punctuation-level-full'.

Return CH's Chinese punctuation if CH is converted.  Return nil otherwise"
  (cl-case ch
@@ -1197,14 +1197,18 @@ for flag value and meaning"
;; basic data and emacs facility
;;===============================

;; these two var is only used in docstring to avoid checkdoc line-too-long
;; error.
(defvar zero-pinyin-service-interface-xml-file
  "/usr/share/dbus-1/interfaces/com.emacsos.zero.ZeroPinyinService1.ZeroPinyinServiceInterface.xml")
(defvar zero-pinyin-service-interface-xml-url
  "https://gitlab.emacsos.com/sylecn/zero-pinyin-service/blob/master/com.emacsos.zero.ZeroPinyinService1.ZeroPinyinServiceInterface.xml")
(defcustom zero-pinyin-fuzzy-flag 0
  "FuzzyFlag for pinyin.
  "Non-nil means use this value as FuzzyFlag.
see zero-pinyin-service dbus interface xml for flag value and meaning.

You can check the xml file locally at
/usr/share/dbus-1/interfaces/com.emacsos.zero.ZeroPinyinService1.ZeroPinyinServiceInterface.xml
or online at
https://gitlab.emacsos.com/sylecn/zero-pinyin-service/blob/master/com.emacsos.zero.ZeroPinyinService1.ZeroPinyinServiceInterface.xml"
You can find the xml file locally at `zero-pinyin-service-interface-xml-file'
or online at `zero-pinyin-service-interface-xml-url'."
  :type 'integer
  :group 'zero-pinyin)

+6 −6

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.