Add a clarification to Buffers chapter of Emacs manual.
authorDani Moncayo <dmoncayo@gmail.com>
Sat, 25 Feb 2012 03:49:22 +0000 (11:49 +0800)
committerChong Yidong <cyd@gnu.org>
Sat, 25 Feb 2012 03:49:22 +0000 (11:49 +0800)
* doc/emacs/buffers.texi (Select Buffer): Mention that saving in a new file
name can switch to a different major mode.

doc/emacs/ChangeLog
doc/emacs/buffers.texi

index 2f3a4ee..3d3c8f0 100644 (file)
@@ -1,3 +1,8 @@
+2012-02-25  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
+
+       * buffers.texi (Select Buffer): Mention that saving in a new file
+       name can switch to a different major mode.
+
 2012-02-23  Glenn Morris  <rgm@gnu.org>
 
        * mini.texi (Minibuffer File, Completion Options, Repetition):
index c3a778d..d0ec110 100644 (file)
@@ -106,7 +106,9 @@ editing.  The default value of the variable @code{major-mode}
 determines the new buffer's major mode; the default value is
 Fundamental mode.  @xref{Major Modes}.  One reason to create a new
 buffer is to use it for making temporary notes.  If you try to save
-it, Emacs asks for the file name to use.
+it, Emacs asks for the file name to use, and the buffer's major mode
+is re-established taking that file name into account (@pxref{Choosing
+Modes}).
 
 @kindex C-x @key{LEFT}
 @kindex C-x @key{RIGHT}