1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-26 10:49:33 +00:00
emacs/lisp/language/misc-lang.el
Kenichi Handa 8f76845d7e (setup-XXX-environment): Just call set-language-environment. If
they used to do some other jobs than what done by
set-language-environment, those jobs are done in
setup-XXX-environment-internal now.
("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
the value to setup-XXX-environment-internal.  Add properties
nonascii-translation, input-method, features, unibyte-syntax, and
unibyte-display.
1998-08-10 06:29:02 +00:00

47 lines
1.5 KiB
EmacsLisp

;;; misc-lang.el --- support for miscellaneous languages (characters)
;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
;; Licensed to the Free Software Foundation.
;; Keywords: multilingual, character set, coding system
;; This file is part of GNU Emacs.
;; 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.
;; GNU Emacs 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 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.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; IPA (International Phonetic Alphabet)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defun setup-ipa-environment ()
"Setup multilingual environment (MULE) for IPA."
(interactive)
(set-language-environment "IPA"))
(set-language-info-alist
"IPA" '((charset . (ipa))
(coding-priority iso-2022-7bit)
(coding-system iso-2022-7bit)
(input-method . "ipa")
(nonascii-translation . ipa)
(unibyte-display . iso-2022-7bit)
(documentation . "\
IPA is International Phonetic Alphabet for English, French, German
and Italian.")))
;;; misc-lang.el ends here