emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 2fac775: * src/buffer.c (syms_of_buffer) <major-m


From: Glenn Morris
Subject: [Emacs-diffs] emacs-25 2fac775: * src/buffer.c (syms_of_buffer) <major-mode>: Doc fix.
Date: Wed, 13 Jan 2016 00:01:23 +0000

branch: emacs-25
commit 2fac775a402b859b1d0bcc7683129ba7c6c13673
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * src/buffer.c (syms_of_buffer) <major-mode>: Doc fix.
    
    Remove comments that do not apply since 2005-08-09.  (Bug#22349)
---
 src/buffer.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/src/buffer.c b/src/buffer.c
index 3f93716..b02135c 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5630,13 +5630,7 @@ Decimal digits after the % specify field width to which 
to pad.  */);
                     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.  */);
+it is not marked as "special".  */);
 
   DEFVAR_PER_BUFFER ("mode-name", &BVAR (current_buffer, mode_name),
                      Qnil,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]