]> code.delx.au - gnu-emacs/blobdiff - leim/quail/py-punct.el
Cleanup setup of gl_state in various parts of the code.
[gnu-emacs] / leim / quail / py-punct.el
index b903f214e4f1902fc15e94a5fc39fe7f0e5475f1..63d919db0f90f6aedfdb69c2583a9e2f1687d2f4 100644 (file)
@@ -1,7 +1,11 @@
-;; quail/py-punct.el -- Quail packages for Chinese (pinyin + extra symbols)
+;;; py-punct.el --- Quail packages for Chinese (pinyin + extra symbols)  -*-coding: iso-2022-7bit;-*-
 
-;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
-;; Licensed to the Free Software Foundation.
+;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+;;   Free Software Foundation, Inc.
+;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
+;;   2006, 2007, 2008, 2009, 2010
+;;   National Institute of Advanced Industrial Science and Technology (AIST)
+;;   Registration Number H14PRO021
 
 ;; Author: Ken'ichi HANDA <handa@etl.go.jp>
 
 
 ;; This file is part of GNU Emacs.
 
-;; GNU Emacs is free software; you can redistribute it and/or modify
+;; GNU Emacs is free software: you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
-;; any later version.
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
 
 ;; GNU Emacs is distributed in the hope that it will be useful,
 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
 ;; GNU General Public License for more details.
 
 ;; You should have received a copy of the GNU General Public License
-;; along with GNU Emacs; see the file COPYING.  If not, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;; Code:
 
 (require 'quail)
 
@@ -43,7 +49,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)))
 
@@ -64,4 +70,10 @@ 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)))
+
+;; arch-tag: 941fd2ac-2d26-4b0e-8458-b5e485c5aa7d
+;;; py-punct.el ends here