aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index c70831e155f..b1c453816ce 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5430,7 +5430,14 @@ 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'.
5433nil here means use current buffer's major mode. */); 5433nil here means use current buffer's major mode, provided it is not
5434marked as "special".
5435
5436When a mode is used by default, `find-file' switches to it
5437before it reads the contents into the buffer and before
5438it finishes setting up the buffer. Thus, the mode and
5439its 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),