diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/buffer.c b/src/buffer.c index 1468e7a2be1..4df77a181d6 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -5630,13 +5630,7 @@ Decimal digits after the % specify field width to which to pad. */); | |||
| 5630 | doc: /* Symbol for current buffer's major mode. | 5630 | doc: /* Symbol for current buffer's major mode. |
| 5631 | The default value (normally `fundamental-mode') affects new buffers. | 5631 | The default value (normally `fundamental-mode') affects new buffers. |
| 5632 | A value of nil means to use the current buffer's major mode, provided | 5632 | A value of nil means to use the current buffer's major mode, provided |
| 5633 | it is not marked as "special". | 5633 | it is not marked as "special". */); |
| 5634 | |||
| 5635 | When a mode is used by default, `find-file' switches to it before it | ||
| 5636 | reads the contents into the buffer and before it finishes setting up | ||
| 5637 | the buffer. Thus, the mode and its hooks should not expect certain | ||
| 5638 | variables such as `buffer-read-only' and `buffer-file-coding-system' | ||
| 5639 | to be set up. */); | ||
| 5640 | 5634 | ||
| 5641 | DEFVAR_PER_BUFFER ("mode-name", &BVAR (current_buffer, mode_name), | 5635 | DEFVAR_PER_BUFFER ("mode-name", &BVAR (current_buffer, mode_name), |
| 5642 | Qnil, | 5636 | Qnil, |