annotate lisp/international/codepage.el @ 93137:59d389acc0ce

*** empty log message ***
author Juri Linkov <juri@jurta.org>
date Sat, 22 Mar 2008 00:02:24 +0000
parents 12b28703d0a5
children 1e3a407766b9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38412
253f761ad37b Some fixes to follow coding conventions in files maintained by FSF.
Pavel Janík <Pavel@Janik.cz>
parents: 36579
diff changeset
1 ;;; codepage.el --- MS-DOS/MS-Windows specific coding systems
23915
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
2
92039
12b28703d0a5 Add missing FSF copyright years.
Glenn Morris <rgm@gnu.org>
parents: 91327
diff changeset
3 ;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
12b28703d0a5 Add missing FSF copyright years.
Glenn Morris <rgm@gnu.org>
parents: 91327
diff changeset
4 ;; 2007, 2008 Free Software Foundation, Inc.
79709
b6fdfff4ae81 Add 2008 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 78310
diff changeset
5 ;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
62274
c36561fe0657 Fix copyrights.
Kenichi Handa <handa@m17n.org>
parents: 52435
diff changeset
6 ;; National Institute of Advanced Industrial Science and Technology (AIST)
c36561fe0657 Fix copyrights.
Kenichi Handa <handa@m17n.org>
parents: 52435
diff changeset
7 ;; Registration Number H14PRO021
23915
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
8
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
9 ;; Author: Eli Zaretskii
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
10 ;; Maintainer: FSF
88563
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
11 ;; Keywords: i18n ms-dos ms-windows codepage obsolete
23915
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
12
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
13 ;; This file is part of GNU Emacs.
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
14
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
15 ;; GNU Emacs is free software; you can redistribute it and/or modify
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
16 ;; it under the terms of the GNU General Public License as published by
78310
2daf9c28b3a4 Restore comma mistakenly removed in last change.
Glenn Morris <rgm@gnu.org>
parents: 78301
diff changeset
17 ;; the Free Software Foundation; either version 3, or (at your option)
23915
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
18 ;; any later version.
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
19
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
20 ;; GNU Emacs is distributed in the hope that it will be useful,
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
21 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
22 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
23 ;; GNU General Public License for more details.
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
24
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
25 ;; You should have received a copy of the GNU General Public License
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
26 ;; along with GNU Emacs; see the file COPYING. If not, write to the
64085
18a818a2ee7c Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 62274
diff changeset
27 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18a818a2ee7c Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 62274
diff changeset
28 ;; Boston, MA 02110-1301, USA.
23915
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
29
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
30 ;;; Commentary:
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
31
29922
9473e3466947 (cp-coding-system-for-codepage-1): Doc fix.
Eli Zaretskii <eliz@gnu.org>
parents: 29721
diff changeset
32 ;; Special coding systems for DOS/Windows codepage support.
88563
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
33 ;; Obsolete.
23915
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
34
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
35 ;;; Code:
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
36
65489
05943819b890 (dos-unsupported-char-glyph): Add defvar.
Juanma Barranquero <lekktu@gmail.com>
parents: 64085
diff changeset
37 (defvar dos-unsupported-char-glyph)
05943819b890 (dos-unsupported-char-glyph): Add defvar.
Juanma Barranquero <lekktu@gmail.com>
parents: 64085
diff changeset
38
88563
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
39 ;; I doubt we need compatibility versions of any of these autoloaded
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
40 ;; functions apart from codepage-setup, which users may call.
23915
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
41
88563
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
42 ;; ;;;###autoload
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
43 ;; (defun cp-make-coding-systems-for-codepage (codepage iso-name offset)
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
44 ;; "Create a coding system to convert IBM CODEPAGE into charset ISO-NAME
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
45 ;; whose first character is at offset OFFSET from the beginning of 8-bit
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
46 ;; ASCII table.
23915
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
47
88563
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
48 ;; The created coding system has the usual 3 subsidiary systems: for Unix-,
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
49 ;; DOS- and Mac-style EOL conversion. However, unlike built-in coding
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
50 ;; systems, the Mac-style EOL conversion is currently not supported by the
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
51 ;; decoder and encoder created by this function."
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
52 ;; (let* ((decode-table (intern (format "%s-decode-table" codepage)))
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
53 ;; (nonascii-table
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
54 ;; (intern (format "%s-nonascii-translation-table" codepage)))
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
55 ;; (decode-translation
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
56 ;; (intern (format "%s-decode-translation-table" codepage)))
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
57 ;; (encode-translation
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
58 ;; (intern (format "%s-encode-translation-table" codepage))))
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
59 ;; (set nonascii-table
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
60 ;; (make-translation-table-from-vector
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
61 ;; (cp-decoding-vector-for-codepage
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
62 ;; (symbol-value decode-table) iso-name offset)))
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
63 ;; (define-translation-table encode-translation
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
64 ;; (char-table-extra-slot (symbol-value nonascii-table) 0))
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
65 ;; ;; For charsets other than ascii, eight-bit-* and ISO-NAME, set
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
66 ;; ;; `?' for one-column charsets, and some Japanese character for
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
67 ;; ;; wide-column charsets. CCL encoder convert that Japanese
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
68 ;; ;; character to either dos-unsupported-char-glyph or "??".
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
69 ;; (let ((tbl (char-table-extra-slot (symbol-value nonascii-table) 0))
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
70 ;; (undef (if (eq system-type 'ms-dos)
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
71 ;; (if dos-unsupported-char-glyph
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
72 ;; (logand dos-unsupported-char-glyph 255)
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
73 ;; 127)
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
74 ;; ??))
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
75 ;; (charsets (delq 'ascii
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
76 ;; (delq 'eight-bit-control
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
77 ;; (delq 'eight-bit-graphic
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
78 ;; (delq iso-name
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
79 ;; (copy-sequence charset-list))))))
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
80 ;; (wide-column-char (make-char 'japanese-jisx0208 32 32)))
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
81 ;; (while charsets
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
82 ;; (aset tbl (make-char (car charsets))
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
83 ;; (if (= (charset-width (car charsets)) 1) undef wide-column-char))
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
84 ;; (setq charsets (cdr charsets))))
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
85 ;; (define-translation-table decode-translation
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
86 ;; (symbol-value nonascii-table))
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
87 ;; (cp-coding-system-for-codepage-1
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
88 ;; (intern codepage) ?D iso-name decode-translation encode-translation)
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
89 ;; ))
23915
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
90
88563
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
91 ;; ;;;###autoload
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
92 ;; (defun cp-charset-for-codepage (codepage)
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
93 ;; "Return the charset for which there is a translation table to DOS CODEPAGE.
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
94 ;; CODEPAGE must be the name of a DOS codepage, a string."
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
95 ;; (let ((cp-decoder (cp-codepage-decoder codepage)))
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
96 ;; (if (null cp-decoder)
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
97 ;; (error "Unsupported codepage %s" codepage)
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
98 ;; (get cp-decoder 'charset))))
36579
24048ec9f8ce (cp770-decode-table)
Eli Zaretskii <eliz@gnu.org>
parents: 34672
diff changeset
99
88563
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
100 ;; ;;;###autoload
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
101 ;; (defun cp-language-for-codepage (codepage)
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
102 ;; "Return the name of the MULE language environment for CODEPAGE.
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
103 ;; CODEPAGE must be the name of a DOS codepage, a string."
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
104 ;; (let ((cp-decoder (cp-codepage-decoder codepage)))
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
105 ;; (if (null cp-decoder)
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
106 ;; (error "Unsupported codepage %s" codepage)
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
107 ;; (get cp-decoder 'language))))
23915
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
108
88563
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
109 ;; ;;;###autoload
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
110 ;; (defun cp-offset-for-codepage (codepage)
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
111 ;; "Return the offset to be used in setting up coding systems for CODEPAGE.
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
112 ;; CODEPAGE must be the name of a DOS codepage, a string."
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
113 ;; (let ((cp-decoder (cp-codepage-decoder codepage)))
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
114 ;; (if (null cp-decoder)
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
115 ;; (error "Unsupported codepage %s" codepage)
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
116 ;; (get cp-decoder 'offset))))
24454
fe0089dd2d2f (cp1250-decode-table, cp1251-decode-table, cp1253-decode-table,
Eli Zaretskii <eliz@gnu.org>
parents: 24371
diff changeset
117
88563
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
118 ;; ;;;###autoload
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
119 ;; (defun cp-supported-codepages ()
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
120 ;; "Return an alist of supported codepages.
24454
fe0089dd2d2f (cp1250-decode-table, cp1251-decode-table, cp1253-decode-table,
Eli Zaretskii <eliz@gnu.org>
parents: 24371
diff changeset
121
88563
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
122 ;; Each association in the alist has the form (NNN . CHARSET), where NNN is the
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
123 ;; codepage number, and CHARSET is the MULE charset which is the closest match
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
124 ;; for the character set supported by that codepage.
24454
fe0089dd2d2f (cp1250-decode-table, cp1251-decode-table, cp1253-decode-table,
Eli Zaretskii <eliz@gnu.org>
parents: 24371
diff changeset
125
88563
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
126 ;; A codepage NNN is supported if a variable called `cpNNN-decode-table' exists,
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
127 ;; is a vector, and has a charset property."
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
128 ;; (save-match-data
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
129 ;; (let (alist chset sname)
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
130 ;; (mapatoms
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
131 ;; (function
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
132 ;; (lambda (sym)
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
133 ;; (if (and (boundp sym)
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
134 ;; (string-match "\\`cp\\([1-9][0-9][0-9][0-9]?\\)-decode-table\\'"
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
135 ;; (setq sname (symbol-name sym)))
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
136 ;; (vectorp (symbol-value sym))
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
137 ;; (setq chset (get sym 'charset)))
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
138 ;; (setq alist
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
139 ;; (cons (cons (match-string 1 sname) chset) alist))))))
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
140 ;; alist)))
24454
fe0089dd2d2f (cp1250-decode-table, cp1251-decode-table, cp1253-decode-table,
Eli Zaretskii <eliz@gnu.org>
parents: 24371
diff changeset
141
23915
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
142 ;;;###autoload
88563
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
143 (defun codepage-setup (&optional codepage)
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
144 "Obsolete. All coding systems are set up initially."
1b9937bcfbf4 Most of code removed or commented
Dave Love <fx@gnu.org>
parents: 41989
diff changeset
145 (interactive))
90104
a01e7a9f1659 Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-14
Miles Bader <miles@gnu.org>
parents: 89909
diff changeset
146 (make-obsolete 'codepage-setup "no longer relevant" "23.1")
52435
528d8a1b09d5 ("mule-diag"): Add eval-after-load
Dave Love <fx@gnu.org>
parents: 52401
diff changeset
147
23915
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
148 (provide 'codepage)
7ce49fb0dfbc Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
149
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49598
diff changeset
150 ;;; arch-tag: 80328de8-b94e-4386-be26-5876105731f0
38412
253f761ad37b Some fixes to follow coding conventions in files maintained by FSF.
Pavel Janík <Pavel@Janik.cz>
parents: 36579
diff changeset
151 ;;; codepage.el ends here