[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/src ChangeLog buffer.c
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] emacs/src ChangeLog buffer.c |
Date: |
Wed, 02 Sep 2009 03:11:27 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Glenn Morris <gm> 09/09/02 03:11:25
Modified files:
src : ChangeLog buffer.c
Log message:
(default-major-mode): Move most of the doc from here...
(major-mode): ... to here.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/ChangeLog?cvsroot=emacs&r1=1.7725&r2=1.7726
http://cvs.savannah.gnu.org/viewcvs/emacs/src/buffer.c?cvsroot=emacs&r1=1.584&r2=1.585
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/src/ChangeLog,v
retrieving revision 1.7725
retrieving revision 1.7726
diff -u -b -r1.7725 -r1.7726
--- ChangeLog 30 Aug 2009 04:50:49 -0000 1.7725
+++ ChangeLog 2 Sep 2009 03:11:15 -0000 1.7726
@@ -1,3 +1,8 @@
+2009-09-02 Glenn Morris <address@hidden>
+
+ * buffer.c (default-major-mode): Move most of the doc from here...
+ (major-mode): ... to here.
+
2009-08-30 Nick Roberts <address@hidden>
* process.c (wait_reading_process_output): Keep the descriptor
Index: buffer.c
===================================================================
RCS file: /sources/emacs/emacs/src/buffer.c,v
retrieving revision 1.584
retrieving revision 1.585
diff -u -b -r1.584 -r1.585
--- buffer.c 15 Aug 2009 14:06:04 -0000 1.584
+++ buffer.c 2 Sep 2009 03:11:24 -0000 1.585
@@ -5703,19 +5703,20 @@
Decimal digits after the % specify field width to which to pad. */);
DEFVAR_LISP_NOPRO ("default-major-mode", &buffer_defaults.major_mode,
- doc: /* *Major mode for new buffers. Defaults to
`fundamental-mode'.
-A value of nil 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. */);
+ doc: /* *Value of `major-mode' for new buffers. */);
DEFVAR_PER_BUFFER ("major-mode", ¤t_buffer->major_mode,
make_number (Lisp_Symbol),
- doc: /* Symbol for current buffer's major mode. */);
+ doc: /* Symbol for current buffer's major mode.
+The default value (normally `fundamental-mode') affects new buffers.
+A value of nil means to use the 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 ("mode-name", ¤t_buffer->mode_name,
Qnil,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs/src ChangeLog buffer.c,
Glenn Morris <=