view lisp/mule/arabic-hooks.el @ 74:54cc21c15cbb r20-0b32

Import from CVS: tag r20-0b32
author cvs
date Mon, 13 Aug 2007 09:04:33 +0200
parents 131b0175ea99
children 5a88923fcbfe
line wrap: on
line source

;;; arabic-hooks.el --- pre-loaded support for Arabic.

;; Copyright (C) 1992,93,94,95 Free Software Foundation, Inc.
;; Copyright (C) 1995 Amdahl Corporation.
;; Copyright (C) 1995 Sun Microsystems.

;; This file is part of XEmacs.

;; XEmacs 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.

;; XEmacs is distributed in the hope that it will be useful, but
;; WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
;; General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with XEmacs; see the file COPYING.  If not, write to the 
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.

;;; Synched up with: Mule 2.3.

;; Three character sets for Arabic
(make-charset 'arabic-0 "Arabic digits"
	      '(registry "MuleArabic-0"
		dimension 1
		chars 94
		final ?2
		graphic 0
		direction l2r
		))

(make-charset 'arabic-1 "one-column Arabic"
	      '(registry "MuleArabic-1"
		dimension 1
		chars 94
		final ?3
		graphic 0
		direction r2l
		))

(make-charset 'arabic-2 "two-column Arabic"
	      '(registry "MuleArabic-2"
		dimension 1
		chars 94
		final ?4
		graphic 0
		direction r2l
		))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; ARABIC
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(define-language-environment 'arabic
  "Arabic"
  (lambda ()
    (require 'arabic)))