emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r111049: * buffer.c (Fset_buffer_m


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r111049: * buffer.c (Fset_buffer_major_mode): Doc fix.
Date: Fri, 21 Dec 2012 16:04:27 +0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111049
fixes bug: http://debbugs.gnu.org/13231
committer: Chong Yidong <address@hidden>
branch nick: emacs-24
timestamp: Fri 2012-12-21 16:04:27 +0800
message:
  * buffer.c (Fset_buffer_major_mode): Doc fix.
modified:
  src/ChangeLog
  src/buffer.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-12-15 13:44:41 +0000
+++ b/src/ChangeLog     2012-12-21 08:04:27 +0000
@@ -1,3 +1,7 @@
+2012-12-21  Chong Yidong  <address@hidden>
+
+       * buffer.c (Fset_buffer_major_mode): Doc fix (Bug#13231).
+
 2012-12-15  Chong Yidong  <address@hidden>
 
        * fns.c (Fcompare_strings): Doc fix (Bug#13081).

=== modified file 'src/buffer.c'
--- a/src/buffer.c      2012-10-17 05:22:23 +0000
+++ b/src/buffer.c      2012-12-21 08:04:27 +0000
@@ -2043,7 +2043,7 @@
 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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]