Mercurial > emacs
comparison man/major.texi @ 37986:e11682cc1516
selected buffer => current buffer.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 02 Jun 2001 20:54:03 +0000 |
parents | 04f11a4bb597 |
children | 23f63206a867 |
comparison
equal
deleted
inserted
replaced
37985:7dcc8602ed82 | 37986:e11682cc1516 |
---|---|
149 When you visit a file that does not specify a major mode to use, or | 149 When you visit a file that does not specify a major mode to use, or |
150 when you create a new buffer with @kbd{C-x b}, the variable | 150 when you create a new buffer with @kbd{C-x b}, the variable |
151 @code{default-major-mode} specifies which major mode to use. Normally | 151 @code{default-major-mode} specifies which major mode to use. Normally |
152 its value is the symbol @code{fundamental-mode}, which specifies | 152 its value is the symbol @code{fundamental-mode}, which specifies |
153 Fundamental mode. If @code{default-major-mode} is @code{nil}, the major | 153 Fundamental mode. If @code{default-major-mode} is @code{nil}, the major |
154 mode is taken from the previously selected buffer. | 154 mode is taken from the previously current buffer. |
155 | 155 |
156 @findex normal-mode | 156 @findex normal-mode |
157 If you change the major mode of a buffer, you can go back to the major | 157 If you change the major mode of a buffer, you can go back to the major |
158 mode Emacs would choose automatically: use the command @kbd{M-x | 158 mode Emacs would choose automatically: use the command @kbd{M-x |
159 normal-mode} to do this. This is the same function that | 159 normal-mode} to do this. This is the same function that |