* buffer.c (Fset_buffer_major_mode): Doc fix.
authorChong Yidong <cyd@gnu.org>
Fri, 21 Dec 2012 08:04:27 +0000 (16:04 +0800)
committerChong Yidong <cyd@gnu.org>
Fri, 21 Dec 2012 08:04:27 +0000 (16:04 +0800)
Fixes: debbugs:13231

src/ChangeLog
src/buffer.c

index c123606..645da89 100644 (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).
index 0b3dde2..519289f 100644 (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)