From a2bfbc210a8c2b8b954cd9469c65a224b74b33c9 Mon Sep 17 00:00:00 2001 From: tomo Date: Wed, 17 Apr 2002 09:02:43 +0000 Subject: [PATCH] (ids-parse-string): Add DOC-string. (ids-format-list): Likewise; add autoload cookie. --- ids.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ids.el b/ids.el index 9948d39..a8a4182 100644 --- a/ids.el +++ b/ids.el @@ -1,6 +1,6 @@ ;;; ids.el --- Parser and utility for Ideographic Description Sequence. -;; Copyright (C) 2001 MORIOKA Tomohiko +;; Copyright (C) 2001,2002 MORIOKA Tomohiko ;; Author: MORIOKA Tomohiko ;; Keywords: IDS, IDC, Ideographs, UCS, Unicode @@ -91,8 +91,9 @@ (cdr ret))))))))) ;;;###autoload -(defun ids-parse-string (string) - (let ((ret (ids-parse-element string))) +(defun ids-parse-string (ids-string) + "Parse IDS-STRING and return the result." + (let ((ret (ids-parse-element ids-string))) (if (= (length (cdr ret)) 0) (car ret)))) @@ -107,7 +108,9 @@ ((setq ret (assq 'ideographic-structure ids-char)) (ids-format-list (cdr ret)))))) +;;;###autoload (defun ids-format-list (ids-list) + "Format ideographic-structure IDS-LIST as an IDS-string." (mapconcat (lambda (cell) (ids-format-unit (if (char-ref-p cell) -- 1.7.10.4