From: Dani Moncayo Date: Sat, 25 Feb 2012 03:49:22 +0000 (+0800) Subject: Add a clarification to Buffers chapter of Emacs manual. X-Git-Url: https://git.hcoop.net/bpt/emacs.git/commitdiff_plain/562af8bb4f1f1f4962cf3543290c61c2cc554978 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. --- diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 2f3a4ee168..3d3c8f003c 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,3 +1,8 @@ +2012-02-25 Dani Moncayo (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 * mini.texi (Minibuffer File, Completion Options, Repetition): diff --git a/doc/emacs/buffers.texi b/doc/emacs/buffers.texi index c3a778dd20..d0ec110358 100644 --- a/doc/emacs/buffers.texi +++ b/doc/emacs/buffers.texi @@ -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}