/[emacs]/emacs/src/buffer.c
ViewVC logotype

Diff of /emacs/src/buffer.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.462 by teirllm, Wed Sep 8 02:23:55 2004 UTC revision 1.463 by rms, Sat Sep 18 19:20:34 2004 UTC
# Line 5430  Decimal digits after the % specify field Line 5430  Decimal digits after the % specify field
5430    
5431    DEFVAR_LISP_NOPRO ("default-major-mode", &buffer_defaults.major_mode,    DEFVAR_LISP_NOPRO ("default-major-mode", &buffer_defaults.major_mode,
5432                       doc: /* *Major mode for new buffers.  Defaults to `fundamental-mode'.                       doc: /* *Major mode for new buffers.  Defaults to `fundamental-mode'.
5433  nil here means use current buffer's major mode.  */);  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.  */);
5441    
5442    DEFVAR_PER_BUFFER ("major-mode", &current_buffer->major_mode,    DEFVAR_PER_BUFFER ("major-mode", &current_buffer->major_mode,
5443                       make_number (Lisp_Symbol),                       make_number (Lisp_Symbol),

Legend:
Removed from v.1.462  
changed lines
  Added in v.1.463

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26