diff options
| author | Glenn Morris | 2016-01-12 19:01:12 -0500 |
|---|---|---|
| committer | Glenn Morris | 2016-01-12 19:01:12 -0500 |
| commit | 2fac775a402b859b1d0bcc7683129ba7c6c13673 (patch) | |
| tree | 9b4fa9e770e449ac77cdea860e1e325ee70f671f /src/buffer.c | |
| parent | 0ed0a9b7f09495394dc9b60a9f7c937679c49afe (diff) | |
| download | emacs-2fac775a402b859b1d0bcc7683129ba7c6c13673.tar.gz emacs-2fac775a402b859b1d0bcc7683129ba7c6c13673.zip | |
* src/buffer.c (syms_of_buffer) <major-mode>: Doc fix.
Remove comments that do not apply since 2005-08-09. (Bug#22349)
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 3f9371652e7..b02135cef87 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, |