[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/buffer.c
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/src/buffer.c |
Date: |
Sat, 18 Sep 2004 15:26:59 -0400 |
Index: emacs/src/buffer.c
diff -c emacs/src/buffer.c:1.462 emacs/src/buffer.c:1.463
*** emacs/src/buffer.c:1.462 Wed Sep 8 02:23:55 2004
--- emacs/src/buffer.c Sat Sep 18 19:20:34 2004
***************
*** 5430,5436 ****
DEFVAR_LISP_NOPRO ("default-major-mode", &buffer_defaults.major_mode,
doc: /* *Major mode for new buffers. Defaults to
`fundamental-mode'.
! nil here means use current buffer's major mode. */);
DEFVAR_PER_BUFFER ("major-mode", ¤t_buffer->major_mode,
make_number (Lisp_Symbol),
--- 5430,5443 ----
DEFVAR_LISP_NOPRO ("default-major-mode", &buffer_defaults.major_mode,
doc: /* *Major mode for new buffers. Defaults to
`fundamental-mode'.
! nil here means use current buffer's major mode, provided it is not
! marked as "special".
!
! When a mode is used by default, `find-file' switches to it
! before it reads the contents into the buffer and before
! it finishes setting up the buffer. Thus, the mode and
! its hooks should not expect certain variables such as
! `buffer-read-only' and `buffer-file-coding-system' to be set up. */);
DEFVAR_PER_BUFFER ("major-mode", ¤t_buffer->major_mode,
make_number (Lisp_Symbol),