1 ;;; vietnamese-chars.el --- pre-loaded support for Vietnamese, part 1.
3 ;; Copyright (C) 1992,93,94,95 Free Software Foundation, Inc.
4 ;; Copyright (C) 1995 Amdahl Corporation.
5 ;; Copyright (C) 1995 Sun Microsystems.
7 ;; This file is part of XEmacs.
9 ;; XEmacs is free software; you can redistribute it and/or modify it
10 ;; under the terms of the GNU General Public License as published by
11 ;; the Free Software Foundation; either version 2, or (at your option)
14 ;; XEmacs is distributed in the hope that it will be useful, but
15 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 ;; General Public License for more details.
19 ;; You should have received a copy of the GNU General Public License
20 ;; along with XEmacs; see the file COPYING. If not, write to the
21 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22 ;; Boston, MA 02111-1307, USA.
24 ;;; Synched up with: Mule 2.3.
26 ;; We have to split up the Vietnamese stuff into two files because
27 ;; we are registering new charsets and then immediately using characters
28 ;; from those sets. We cannot reliably expect this to work if they
29 ;; are in the same file because of the buffering that happens while
30 ;; reading -- the place where we use the newly-defined sets may be
31 ;; read in before the code that creates those sets is evaluated.
33 ;; Vietnamese VISCII with two tables.
34 (unless (featurep 'utf-2000)
35 (make-charset 'latin-viscii-lower "VISCII lower (Vietnamese)"
36 '(registry "VISCII1.1"
43 (make-charset 'latin-viscii-upper "VISCII upper (Vietnamese)"
44 '(registry "VISCII1.1"
52 (define-charset-alias 'vietnamese-viscii-lower 'latin-viscii-lower)
53 (define-charset-alias 'vietnamese-viscii-upper 'latin-viscii-upper)
55 (modify-syntax-entry 'vietnamese-viscii-lower "w")
56 (modify-syntax-entry 'vietnamese-viscii-upper "w")
58 (define-category ?v "Vietnamese character.")
59 (modify-category-entry 'vietnamese-viscii-lower ?v)
60 (modify-category-entry 'vietnamese-viscii-upper ?v)
62 ;;; vietnamese-chars.el ends here