comparison src/buffer.c @ 24404:f401b26570a4

(syms_of_buffer): Doc fix for enable-multibyte-characters.
author Richard M. Stallman <rms@gnu.org>
date Fri, 26 Feb 1999 07:07:13 +0000
parents 6ea9058180ec
children 3c42b33fb636
comparison
equal deleted inserted replaced
24403:00fd80d4b49f 24404:f401b26570a4
1 /* Buffer manipulation primitives for GNU Emacs. 1 /* Buffer manipulation primitives for GNU Emacs.
2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995, 1997, 1998 2 Copyright (C) 1985,86,87,88,89,93,94,95,97,98, 1999
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 4
5 This file is part of GNU Emacs. 5 This file is part of GNU Emacs.
6 6
7 GNU Emacs is free software; you can redistribute it and/or modify 7 GNU Emacs is free software; you can redistribute it and/or modify
4088 This is the same as (default-value 'direction-reversed)."); 4088 This is the same as (default-value 'direction-reversed).");
4089 4089
4090 DEFVAR_LISP_NOPRO ("default-enable-multibyte-characters", 4090 DEFVAR_LISP_NOPRO ("default-enable-multibyte-characters",
4091 &buffer_defaults.enable_multibyte_characters, 4091 &buffer_defaults.enable_multibyte_characters,
4092 "Default value of `enable-multibyte-characters' for buffers not overriding it.\n\ 4092 "Default value of `enable-multibyte-characters' for buffers not overriding it.\n\
4093 This is the same as (default-value 'enable-multibyte-characters)."); 4093 This is the same as (default-value 'enable-multibyte-characters).");
4094 4094
4095 DEFVAR_LISP_NOPRO ("default-buffer-file-coding-system", 4095 DEFVAR_LISP_NOPRO ("default-buffer-file-coding-system",
4096 &buffer_defaults.buffer_file_coding_system, 4096 &buffer_defaults.buffer_file_coding_system,
4097 "Default value of `buffer-file-coding-system' for buffers not overriding it.\n\ 4097 "Default value of `buffer-file-coding-system' for buffers not overriding it.\n\
4098 This is the same as (default-value 'buffer-file-coding-system)."); 4098 This is the same as (default-value 'buffer-file-coding-system).");
4099 4099
4100 DEFVAR_LISP_NOPRO ("default-truncate-lines", 4100 DEFVAR_LISP_NOPRO ("default-truncate-lines",
4101 &buffer_defaults.truncate_lines, 4101 &buffer_defaults.truncate_lines,
4102 "Default value of `truncate-lines' for buffers that do not override it.\n\ 4102 "Default value of `truncate-lines' for buffers that do not override it.\n\
4103 This is the same as (default-value 'truncate-lines)."); 4103 This is the same as (default-value 'truncate-lines).");
4220 DEFVAR_PER_BUFFER ("enable-multibyte-characters", 4220 DEFVAR_PER_BUFFER ("enable-multibyte-characters",
4221 &current_buffer->enable_multibyte_characters, 4221 &current_buffer->enable_multibyte_characters,
4222 make_number (-1), 4222 make_number (-1),
4223 "*Non-nil means the buffer contents are regarded as multi-byte characters.\n\ 4223 "*Non-nil means the buffer contents are regarded as multi-byte characters.\n\
4224 Otherwise they are regarded as unibyte. This affects the display,\n\ 4224 Otherwise they are regarded as unibyte. This affects the display,\n\
4225 file I/O and the behavior of various editing commands."); 4225 file I/O and the behavior of various editing commands.\n\
4226 \n\
4227 This variable is buffer-local but you cannot set it directly;\n\
4228 use the function `set-buffer-multibyte' to change a buffer's representation.\n\
4229 Changing its default value with `setq-default' is supported.\n\
4230 See also variable `default-enable-multibyte-characters' and Info node\n\
4231 `(elisp)Text Representations'.");
4226 4232
4227 DEFVAR_PER_BUFFER ("buffer-file-coding-system", 4233 DEFVAR_PER_BUFFER ("buffer-file-coding-system",
4228 &current_buffer->buffer_file_coding_system, Qnil, 4234 &current_buffer->buffer_file_coding_system, Qnil,
4229 "Coding system to be used for encoding the buffer contents on saving.\n\ 4235 "Coding system to be used for encoding the buffer contents on saving.\n\
4230 If it is nil, the buffer is saved without any code conversion unless\n\ 4236 If it is nil, the buffer is saved without any code conversion unless\n\