diff options
| author | Vincent Belaïche | 2016-01-20 08:30:51 +0100 |
|---|---|---|
| committer | Vincent Belaïche | 2016-01-20 08:30:51 +0100 |
| commit | b895c72059521fec064ff27b4cfcfa4104081c4e (patch) | |
| tree | c1697f0e4d95d8c3556798f6c4c53c98a4714bd0 /src/buffer.c | |
| parent | badcd38aa86ed7973f2be2743c405710973a0bdd (diff) | |
| parent | 1b76d9168336ede8976b980aeaed64ae2908501a (diff) | |
| download | emacs-b895c72059521fec064ff27b4cfcfa4104081c4e.tar.gz emacs-b895c72059521fec064ff27b4cfcfa4104081c4e.zip | |
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
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, |