comparison src/buffer.c @ 83207:4df500c93e1d

Merged in changes from CVS trunk. Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-552 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-553 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-554 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-555 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-556 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-557 Update from CVS * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-27 Use the same directory explicit id-tags as Emacs where possible * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-28 Update from CVS * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-29 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-247
author Karoly Lorentey <lorentey@elte.hu>
date Mon, 20 Sep 2004 09:41:18 +0000
parents 42acc7fa8a4f 5358b2582e78
children b85b19b8eb65
comparison
equal deleted inserted replaced
83206:b5dee7c1d483 83207:4df500c93e1d
5428 %% -- print %. %- -- print infinitely many dashes. 5428 %% -- print %. %- -- print infinitely many dashes.
5429 Decimal digits after the % specify field width to which to pad. */); 5429 Decimal digits after the % specify field width to which to pad. */);
5430 5430
5431 DEFVAR_LISP_NOPRO ("default-major-mode", &buffer_defaults.major_mode, 5431 DEFVAR_LISP_NOPRO ("default-major-mode", &buffer_defaults.major_mode,
5432 doc: /* *Major mode for new buffers. Defaults to `fundamental-mode'. 5432 doc: /* *Major mode for new buffers. Defaults to `fundamental-mode'.
5433 nil here means use current buffer's major mode. */); 5433 nil here means use current buffer's major mode, provided it is not
5434 marked as "special".
5435
5436 When a mode is used by default, `find-file' switches to it
5437 before it reads the contents into the buffer and before
5438 it finishes setting up the buffer. Thus, the mode and
5439 its hooks should not expect certain variables such as
5440 `buffer-read-only' and `buffer-file-coding-system' to be set up. */);
5434 5441
5435 DEFVAR_PER_BUFFER ("major-mode", &current_buffer->major_mode, 5442 DEFVAR_PER_BUFFER ("major-mode", &current_buffer->major_mode,
5436 make_number (Lisp_Symbol), 5443 make_number (Lisp_Symbol),
5437 doc: /* Symbol for current buffer's major mode. */); 5444 doc: /* Symbol for current buffer's major mode. */);
5438 5445