diff options
| author | Chong Yidong | 2012-12-21 16:04:27 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-12-21 16:04:27 +0800 |
| commit | c1f02afadfc879f527350dc56d6ed4d2daa7e173 (patch) | |
| tree | 62082b480607256843fb0ed9334a16dc81439ab8 /src | |
| parent | 07b9c0be5036f343fd21b74526ca450b62e0a729 (diff) | |
| download | emacs-c1f02afadfc879f527350dc56d6ed4d2daa7e173.tar.gz emacs-c1f02afadfc879f527350dc56d6ed4d2daa7e173.zip | |
* buffer.c (Fset_buffer_major_mode): Doc fix.
Fixes: debbugs:13231
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/buffer.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c123606efda..645da892971 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-12-21 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * buffer.c (Fset_buffer_major_mode): Doc fix (Bug#13231). | ||
| 4 | |||
| 1 | 2012-12-15 Chong Yidong <cyd@gnu.org> | 5 | 2012-12-15 Chong Yidong <cyd@gnu.org> |
| 2 | 6 | ||
| 3 | * fns.c (Fcompare_strings): Doc fix (Bug#13081). | 7 | * fns.c (Fcompare_strings): Doc fix (Bug#13081). |
diff --git a/src/buffer.c b/src/buffer.c index 0b3dde27968..519289fa370 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -2043,7 +2043,7 @@ DEFUN ("bury-buffer-internal", Fbury_buffer_internal, Sbury_buffer_internal, | |||
| 2043 | DEFUN ("set-buffer-major-mode", Fset_buffer_major_mode, Sset_buffer_major_mode, 1, 1, 0, | 2043 | DEFUN ("set-buffer-major-mode", Fset_buffer_major_mode, Sset_buffer_major_mode, 1, 1, 0, |
| 2044 | doc: /* Set an appropriate major mode for BUFFER. | 2044 | doc: /* Set an appropriate major mode for BUFFER. |
| 2045 | For the *scratch* buffer, use `initial-major-mode', otherwise choose a mode | 2045 | For the *scratch* buffer, use `initial-major-mode', otherwise choose a mode |
| 2046 | according to `default-major-mode'. | 2046 | according to the default value of `major-mode'. |
| 2047 | Use this function before selecting the buffer, since it may need to inspect | 2047 | Use this function before selecting the buffer, since it may need to inspect |
| 2048 | the current buffer's major mode. */) | 2048 | the current buffer's major mode. */) |
| 2049 | (Lisp_Object buffer) | 2049 | (Lisp_Object buffer) |