]> git.eshelyaron.com Git - emacs.git/commitdiff
("chinese-py-punct"): Copy the QUAIL-MAP of
authorGerd Moellmann <gerd@gnu.org>
Mon, 6 Aug 2001 12:28:57 +0000 (12:28 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 6 Aug 2001 12:28:57 +0000 (12:28 +0000)
"chinese-py".
("chinese-tonepy-punct"): Copy the QUAIL-MAP of "chinese-tonepy".

leim/quail/py-punct.el

index a2f9c7fef2732bfc070dfbac1b4bd2b8ebbaf4b1..c3e380b1062683554f4259d063591f5ce6131380 100644 (file)
@@ -2,6 +2,7 @@
 
 ;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
 ;; Licensed to the Free Software Foundation.
+;; Copyright (C) 2001 Free Software Foundation, Inc.
 
 ;; Author: Ken'ichi HANDA <handa@etl.go.jp>
 
@@ -47,7 +48,7 @@ For instance, typing `v' and `%' insert `\e$A#%\e(B'.
 ")
 
 (setcar (nthcdr 2 quail-current-package)
-       (nth 2 (assoc "chinese-py" quail-package-alist)))
+       (copy-sequence (nth 2 (assoc "chinese-py" quail-package-alist))))
 
 (quail-defrule "v" (nth 2 (assoc "chinese-punct" quail-package-alist)))
 
@@ -68,6 +69,9 @@ by any key sequences defined in `chinese-punct'.
 For instance, typing `v' and `%' insert `\e$A#%\e(B'.
 ")
 
-(quail-defrule "v" (nth 2 (assoc "chinese-punct-b5" quail-package-alist)))
+(setcar (nthcdr 2 quail-current-package)
+       (copy-sequence (nth 2 (assoc "chinese-tonepy" quail-package-alist))))
+
+(quail-defrule "v" (nth 2 (assoc "chinese-punct" quail-package-alist)))
 
 ;;; py-punct.el ends here