comparison src/buffer.c @ 74565:60f389aaa76a

(syms_of_buffer) <default-major-mode>: Doc fix.
author Juanma Barranquero <lekktu@gmail.com>
date Sun, 10 Dec 2006 23:10:49 +0000
parents 6e1dfb25e826
children 42f97e1a6081
comparison
equal deleted inserted replaced
74564:923024cc1279 74565:60f389aaa76a
5498 %% -- print %. %- -- print infinitely many dashes. 5498 %% -- print %. %- -- print infinitely many dashes.
5499 Decimal digits after the % specify field width to which to pad. */); 5499 Decimal digits after the % specify field width to which to pad. */);
5500 5500
5501 DEFVAR_LISP_NOPRO ("default-major-mode", &buffer_defaults.major_mode, 5501 DEFVAR_LISP_NOPRO ("default-major-mode", &buffer_defaults.major_mode,
5502 doc: /* *Major mode for new buffers. Defaults to `fundamental-mode'. 5502 doc: /* *Major mode for new buffers. Defaults to `fundamental-mode'.
5503 nil here means use current buffer's major mode, provided it is not 5503 A value of nil means use current buffer's major mode,
5504 marked as "special". 5504 provided it is not marked as "special".
5505 5505
5506 When a mode is used by default, `find-file' switches to it 5506 When a mode is used by default, `find-file' switches to it
5507 before it reads the contents into the buffer and before 5507 before it reads the contents into the buffer and before
5508 it finishes setting up the buffer. Thus, the mode and 5508 it finishes setting up the buffer. Thus, the mode and
5509 its hooks should not expect certain variables such as 5509 its hooks should not expect certain variables such as