]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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 c123606efda4d69cae51d571ab285234d9a28ad2..645da8929711f782ac9f4fe13df9a3a8662d1d60 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 0b3dde279680d02fd80e344b97a344814ce8eff6..519289fa370c22182745da27234b0d078bc806a0 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)