aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2010-06-04 03:38:12 +0200
committerJuanma Barranquero2010-06-04 03:38:12 +0200
commit18ccd78a19d2be999dc17c6bfe49fc2eff800294 (patch)
tree681627a1d38af9061b32a040969d61a07d3d90a8
parent6941ffecb2ae33279b7d111d0073f7412a559e5d (diff)
downloademacs-18ccd78a19d2be999dc17c6bfe49fc2eff800294.tar.gz
emacs-18ccd78a19d2be999dc17c6bfe49fc2eff800294.zip
mule-cmds.el: Add obsolescence information for nonascii-* vars.
* international/mule-cmds.el (nonascii-insert-offset) (nonascii-translation-table): Add obsolescence information. * international/mule.el (make-translation-table-from-vector): Doc fix.
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/international/mule-cmds.el8
-rw-r--r--lisp/international/mule.el3
3 files changed, 13 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8af8ba4d076..e4ed37cf9cd 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12010-06-04 Juanma Barranquero <lekktu@gmail.com>
2
3 * international/mule-cmds.el (nonascii-insert-offset)
4 (nonascii-translation-table): Add obsolescence information.
5
6 * international/mule.el (make-translation-table-from-vector): Doc fix.
7
12010-06-03 Dan Nicolaescu <dann@ics.uci.edu> 82010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
2 9
3 vc-log-incoming/vc-log-outgoing improvements for Git. 10 vc-log-incoming/vc-log-outgoing improvements for Git.
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index d97320da861..42066a4d699 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -287,7 +287,7 @@ wrong, use this command again to toggle back to the right mode."
287 (interactive) 287 (interactive)
288 ;; We have to decode the file in any environment. 288 ;; We have to decode the file in any environment.
289 (letf ((coding-system-for-read 'iso-2022-7bit)) 289 (letf ((coding-system-for-read 'iso-2022-7bit))
290 (view-file (expand-file-name "HELLO" data-directory)))) 290 (view-file (expand-file-name "HELLO" data-directory))))
291 291
292(defun universal-coding-system-argument (coding-system) 292(defun universal-coding-system-argument (coding-system)
293 "Execute an I/O command using the specified coding system." 293 "Execute an I/O command using the specified coding system."
@@ -2882,8 +2882,10 @@ on encoding."
2882 :group 'mule 2882 :group 'mule
2883 :global t) 2883 :global t)
2884 2884
2885(defvar nonascii-insert-offset 0 "This variable is obsolete.") 2885(defvar nonascii-insert-offset 0)
2886(defvar nonascii-translation-table nil "This variable is obsolete.") 2886(make-obsolete-variable 'nonascii-insert-offset "do not use it." "23.1")
2887(defvar nonascii-translation-table nil)
2888(make-obsolete-variable 'nonascii-translation-table "do not use it." "23.1")
2887 2889
2888(defvar ucs-names nil 2890(defvar ucs-names nil
2889 "Alist of cached (CHAR-NAME . CHAR-CODE) pairs.") 2891 "Alist of cached (CHAR-NAME . CHAR-CODE) pairs.")
diff --git a/lisp/international/mule.el b/lisp/international/mule.el
index a89eaf4a753..0569ca4c268 100644
--- a/lisp/international/mule.el
+++ b/lisp/international/mule.el
@@ -2188,8 +2188,7 @@ character, say TO-ALT, FROM is also translated to TO-ALT."
2188(defun make-translation-table-from-vector (vec) 2188(defun make-translation-table-from-vector (vec)
2189 "Make translation table from decoding vector VEC. 2189 "Make translation table from decoding vector VEC.
2190VEC is an array of 256 elements to map unibyte codes to multibyte 2190VEC is an array of 256 elements to map unibyte codes to multibyte
2191characters. Elements may be nil for undefined code points. 2191characters. Elements may be nil for undefined code points."
2192See also the variable `nonascii-translation-table'."
2193 (let ((table (make-char-table 'translation-table)) 2192 (let ((table (make-char-table 'translation-table))
2194 (rev-table (make-char-table 'translation-table)) 2193 (rev-table (make-char-table 'translation-table))
2195 ch) 2194 ch)