]> code.delx.au - gnu-emacs/blobdiff - lisp/international/ja-dic-cnv.el
Some fixes to follow coding conventions.
[gnu-emacs] / lisp / international / ja-dic-cnv.el
index 34b53804df82eddf621538e1baaafefcbfa5f555..81b9fdc498ce56c9de98c72c189588431304ce18 100644 (file)
@@ -1,4 +1,4 @@
-;;; ja-dic-cnv.el --- Convert a Japanese dictionary (SKK-JISYO.L) to Emacs Lisp
+;;; ja-dic-cnv.el --- convert a Japanese dictionary (SKK-JISYO.L) to Emacs Lisp
 
 ;; Copyright (C) 1995, 2000 Electrotechnical Laboratory, JAPAN.
 ;; Licensed to the Free Software Foundation.
 (defun skkdic-get-candidate-list (from to)
   (let (candidates)
     (goto-char from)
-    (while (re-search-forward "/\\cj+" to t)
+    (while (re-search-forward "/[^/ \n]+" to t)
       (setq candidates (cons (buffer-substring (1+ (match-beginning 0))
                                               (match-end 0))
                             candidates)))
@@ -553,7 +553,7 @@ To get complete usage, invoke:
             entry)
         (while l
           (setq count (1+ count))
-          (if (= (% count 10) 0)
+          (if (= (% count 10000) 0)
               (message (format "%d entries" count)))
           (setq entry (skkdic-extract-conversion-data (car l)))
           (set-nested-alist (car entry) (cdr entry) map)
@@ -562,4 +562,8 @@ To get complete usage, invoke:
 
 (provide 'ja-dic-cnv)
 
-;; ja-dic-cnv.el ends here
+;; Local Variables:
+;; coding: iso-2022-7bit
+;; End:
+
+;;; ja-dic-cnv.el ends here