annotate lisp/language/cyril-util.el @ 18634:8b309d07a95e

(set-language-environment): Do the real work here. (current-language-environment): New variable. (setup-specified-language-environment): Call set-language-environment. Set current-language-environment. (describe-language-environment): By default, use current-language-environment.
author Richard M. Stallman <rms@gnu.org>
date Sat, 05 Jul 1997 19:26:53 +0000
parents 83cb06909a6d
children 3cd2c58b1d6f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17995
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1 ;;; cyril-util.el --- utilities for Cyrillic scripts
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
3 ;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
18377
8b4a66c66dd6 Change copyright notice.
Richard M. Stallman <rms@gnu.org>
parents: 18307
diff changeset
4 ;; Licensed to the Free Software Foundation.
17995
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
5
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
6 ;; Keywords: mule, multilingual, Cyrillic
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
7
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
8 ;; This file is part of GNU Emacs.
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
9
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
10 ;; GNU Emacs is free software; you can redistribute it and/or modify
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
11 ;; it under the terms of the GNU General Public License as published by
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
12 ;; the Free Software Foundation; either version 2, or (at your option)
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
13 ;; any later version.
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
14
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
15 ;; GNU Emacs is distributed in the hope that it will be useful,
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
18 ;; GNU General Public License for more details.
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
19
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
20 ;; You should have received a copy of the GNU General Public License
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
23 ;; Boston, MA 02111-1307, USA.
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
24
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
25 ;;; Code:
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
26
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
27 ;;;###autoload
18307
fbc8c1765592 Provide cyril-util nstead of language/cyril-util.
Kenichi Handa <handa@m17n.org>
parents: 18203
diff changeset
28 (defun setup-cyrillic-environment ()
fbc8c1765592 Provide cyril-util nstead of language/cyril-util.
Kenichi Handa <handa@m17n.org>
parents: 18203
diff changeset
29 "Setup multilingual environment (MULE) for Cyrillic users."
17995
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
30 (interactive)
18546
83cb06909a6d (setup-cyrillic-environment): Adjusted
Kenichi Handa <handa@m17n.org>
parents: 18377
diff changeset
31 (setup-8-bit-environment "Cyrillic" 'cyrillic-iso8859-5 'cyrillic-iso-8bit
83cb06909a6d (setup-cyrillic-environment): Adjusted
Kenichi Handa <handa@m17n.org>
parents: 18377
diff changeset
32 "cyrillic-yawerty"))
17995
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
33 (setq primary-language "Cyrillic"))
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
34
18307
fbc8c1765592 Provide cyril-util nstead of language/cyril-util.
Kenichi Handa <handa@m17n.org>
parents: 18203
diff changeset
35 ;;
fbc8c1765592 Provide cyril-util nstead of language/cyril-util.
Kenichi Handa <handa@m17n.org>
parents: 18203
diff changeset
36 (provide 'cyril-util)
17995
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
37
edf6798cb51b Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
38 ;;; cyril-util.el ends here