Add a clarification to Buffers chapter of Emacs manual.

* doc/emacs/buffers.texi (Select Buffer): Mention that saving in a new file
name can switch to a different major mode.
This commit is contained in:
Dani Moncayo 2012-02-25 11:49:22 +08:00 committed by Chong Yidong
parent 1339bf4302
commit 562af8bb4f
2 changed files with 8 additions and 1 deletions

View 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):

View 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}