1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-29 19:48:19 +00:00

* buffer.c (Fset_buffer_major_mode): Doc fix.

Fixes: debbugs:13231
This commit is contained in:
Chong Yidong 2012-12-21 16:04:27 +08:00
parent 07b9c0be50
commit c1f02afadf
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-12-21 Chong Yidong <cyd@gnu.org>
* buffer.c (Fset_buffer_major_mode): Doc fix (Bug#13231).
2012-12-15 Chong Yidong <cyd@gnu.org>
* fns.c (Fcompare_strings): Doc fix (Bug#13081).

View File

@ -2043,7 +2043,7 @@ DEFUN ("bury-buffer-internal", Fbury_buffer_internal, Sbury_buffer_internal,
DEFUN ("set-buffer-major-mode", Fset_buffer_major_mode, Sset_buffer_major_mode, 1, 1, 0,
doc: /* Set an appropriate major mode for BUFFER.
For the *scratch* buffer, use `initial-major-mode', otherwise choose a mode
according to `default-major-mode'.
according to the default value of `major-mode'.
Use this function before selecting the buffer, since it may need to inspect
the current buffer's major mode. */)
(Lisp_Object buffer)