diff options
| author | Glenn Morris | 2012-05-09 19:54:07 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-05-09 19:54:07 -0700 |
| commit | b8a82b6930b669a8a434d685a351e52194e6f7d9 (patch) | |
| tree | 1ecb9e9a9580fecaca09e8d57828660bfeceb135 /doc | |
| parent | 234d8d6682c1903a2180a7ad4ae17bb5e45468e2 (diff) | |
| download | emacs-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/ChangeLog | 3 | ||||
| -rw-r--r-- | doc/emacs/mule.texi | 15 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 3 | ||||
| -rw-r--r-- | doc/lispref/loading.texi | 2 |
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 @@ | |||
| 1 | 2012-05-10 Glenn Morris <rgm@gnu.org> | 1 | 2012-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 | ||
| 5 | 2012-05-09 Chong Yidong <cyd@gnu.org> | 8 | 2012-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. | |||
| 287 | This includes the Emacs initialization | 287 | This includes the Emacs initialization |
| 288 | file, @file{.emacs}, and the initialization files of packages | 288 | file, @file{.emacs}, and the initialization files of packages |
| 289 | such as Gnus. However, you can specify unibyte loading for a | 289 | such as Gnus. However, you can specify unibyte loading for a |
| 290 | particular Lisp file, by adding an entry @samp{unibyte: t} in a file | 290 | particular Lisp file, by adding an entry @samp{coding: raw-text} in a file |
| 291 | local variables section (@pxref{File Variables}). Then that file is | 291 | local variables section. @xref{Specify Coding}. |
| 292 | always loaded as unibyte text. Note that this does not represent a | 292 | Then that file is always loaded as unibyte text. |
| 293 | real @code{unibyte} variable, rather it just acts as an indicator | ||
| 294 | to 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: |
| 297 | The motivation for these conventions is that it is more reliable to | 295 | The motivation for these conventions is that it is more reliable to |
| 298 | always load any particular Lisp file in the same way. | 296 | always load any particular Lisp file in the same way. |
| 299 | @end ignore | 297 | @end ignore |
| 300 | Note also that this feature only applies to @emph{loading} Lisp files | 298 | You can also load a Lisp file as unibyte, on any one occasion, by |
| 301 | for evaluation, not to visiting them for editing. You can also load a | 299 | typing @kbd{C-x @key{RET} c raw-text @key{RET}} immediately before |
| 302 | Lisp file as unibyte, on any one occasion, by typing @kbd{C-x | 300 | loading 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 @@ | |||
| 1 | 2012-05-10 Glenn Morris <rgm@gnu.org> | 1 | 2012-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 | ||
| 5 | 2012-05-09 Glenn Morris <rgm@gnu.org> | 8 | 2012-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 | |||
| 374 | inserting them in unibyte buffers converts them to unibyte | 374 | inserting them in unibyte buffers converts them to unibyte |
| 375 | automatically. However, if this does make a difference, you can force | 375 | automatically. However, if this does make a difference, you can force |
| 376 | a particular Lisp file to be interpreted as unibyte by writing | 376 | a 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 |
| 378 | that designator, the file will unconditionally be interpreted as | 378 | that designator, the file will unconditionally be interpreted as |
| 379 | unibyte, even in an ordinary multibyte Emacs session. This can matter | 379 | unibyte, even in an ordinary multibyte Emacs session. This can matter |
| 380 | when making keybindings to non-@acronym{ASCII} characters written as | 380 | when making keybindings to non-@acronym{ASCII} characters written as |