aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris2012-05-09 19:54:07 -0700
committerGlenn Morris2012-05-09 19:54:07 -0700
commitb8a82b6930b669a8a434d685a351e52194e6f7d9 (patch)
tree1ecb9e9a9580fecaca09e8d57828660bfeceb135 /doc
parent234d8d6682c1903a2180a7ad4ae17bb5e45468e2 (diff)
downloademacs-b8a82b6930b669a8a434d685a351e52194e6f7d9.tar.gz
emacs-b8a82b6930b669a8a434d685a351e52194e6f7d9.zip
Update doc for obsolescence of "unibyte: t"
* doc/emacs/mule.texi (Disabling Multibyte): * doc/lispref/loading.texi (Loading Non-ASCII): Replace the obsolete "unibyte: t" with "coding: raw-text". * etc/NEWS: Related markup.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog3
-rw-r--r--doc/emacs/mule.texi15
-rw-r--r--doc/lispref/ChangeLog3
-rw-r--r--doc/lispref/loading.texi2
4 files changed, 13 insertions, 10 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 95db7194053..b166262a7ca 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,5 +1,8 @@
12012-05-10 Glenn Morris <rgm@gnu.org> 12012-05-10 Glenn Morris <rgm@gnu.org>
2 2
3 * mule.texi (Disabling Multibyte): Replace the obsolete "unibyte: t"
4 with "coding: raw-text".
5
3 * files.texi (Interlocking): Mention create-lockfiles option. 6 * files.texi (Interlocking): Mention create-lockfiles option.
4 7
52012-05-09 Chong Yidong <cyd@gnu.org> 82012-05-09 Chong Yidong <cyd@gnu.org>
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi
index b0b35bf14b5..35aee6b94a2 100644
--- a/doc/emacs/mule.texi
+++ b/doc/emacs/mule.texi
@@ -287,20 +287,17 @@ auto mode selection.
287This includes the Emacs initialization 287This includes the Emacs initialization
288file, @file{.emacs}, and the initialization files of packages 288file, @file{.emacs}, and the initialization files of packages
289such as Gnus. However, you can specify unibyte loading for a 289such as Gnus. However, you can specify unibyte loading for a
290particular Lisp file, by adding an entry @samp{unibyte: t} in a file 290particular Lisp file, by adding an entry @samp{coding: raw-text} in a file
291local variables section (@pxref{File Variables}). Then that file is 291local variables section. @xref{Specify Coding}.
292always loaded as unibyte text. Note that this does not represent a 292Then that file is always loaded as unibyte text.
293real @code{unibyte} variable, rather it just acts as an indicator
294to Emacs in the same way as @code{coding} does (@pxref{Specify Coding}).
295@ignore 293@ignore
296@c I don't see the point of this statement: 294@c I don't see the point of this statement:
297The motivation for these conventions is that it is more reliable to 295The motivation for these conventions is that it is more reliable to
298always load any particular Lisp file in the same way. 296always load any particular Lisp file in the same way.
299@end ignore 297@end ignore
300Note also that this feature only applies to @emph{loading} Lisp files 298You can also load a Lisp file as unibyte, on any one occasion, by
301for evaluation, not to visiting them for editing. You can also load a 299typing @kbd{C-x @key{RET} c raw-text @key{RET}} immediately before
302Lisp file as unibyte, on any one occasion, by typing @kbd{C-x 300loading it.
303@key{RET} c raw-text @key{RET}} immediately before loading it.
304 301
305@c See http://debbugs.gnu.org/11226 for lack of unibyte tooltip. 302@c See http://debbugs.gnu.org/11226 for lack of unibyte tooltip.
306@vindex enable-multibyte-characters 303@vindex enable-multibyte-characters
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 2967e644558..a64c4386e33 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,5 +1,8 @@
12012-05-10 Glenn Morris <rgm@gnu.org> 12012-05-10 Glenn Morris <rgm@gnu.org>
2 2
3 * loading.texi (Loading Non-ASCII): Replace the obsolete "unibyte: t"
4 with "coding: raw-text".
5
3 * files.texi (File Locks): Mention create-lockfiles option. 6 * files.texi (File Locks): Mention create-lockfiles option.
4 7
52012-05-09 Glenn Morris <rgm@gnu.org> 82012-05-09 Glenn Morris <rgm@gnu.org>
diff --git a/doc/lispref/loading.texi b/doc/lispref/loading.texi
index c9f438f6e47..b012091d4a8 100644
--- a/doc/lispref/loading.texi
+++ b/doc/lispref/loading.texi
@@ -374,7 +374,7 @@ strings are multibyte strings should not be noticeable, since
374inserting them in unibyte buffers converts them to unibyte 374inserting them in unibyte buffers converts them to unibyte
375automatically. However, if this does make a difference, you can force 375automatically. However, if this does make a difference, you can force
376a particular Lisp file to be interpreted as unibyte by writing 376a particular Lisp file to be interpreted as unibyte by writing
377@samp{unibyte: t} in a local variables section. With 377@samp{coding: raw-text} in a local variables section. With
378that designator, the file will unconditionally be interpreted as 378that designator, the file will unconditionally be interpreted as
379unibyte, even in an ordinary multibyte Emacs session. This can matter 379unibyte, even in an ordinary multibyte Emacs session. This can matter
380when making keybindings to non-@acronym{ASCII} characters written as 380when making keybindings to non-@acronym{ASCII} characters written as