(mode-name): Doc fix.
authorGlenn Morris <rgm@gnu.org>
Sun, 10 Feb 2008 02:14:20 +0000 (02:14 +0000)
committerGlenn Morris <rgm@gnu.org>
Sun, 10 Feb 2008 02:14:20 +0000 (02:14 +0000)
src/ChangeLog
src/buffer.c

index fed26de..afc6603 100644 (file)
@@ -1,3 +1,7 @@
+2008-02-10  Glenn Morris  <rgm@gnu.org>
+
+       * buffer.c (mode-name): Doc fix.
+
 2008-02-09  Dan Nicolaescu  <dann@ics.uci.edu>
 
        * src/Makefile.in:
index f482541..d056ce7 100644 (file)
@@ -5607,7 +5607,8 @@ its hooks should not expect certain variables such as
   DEFVAR_PER_BUFFER ("mode-name", &current_buffer->mode_name,
                      Qnil,
                     doc: /* Pretty name of current buffer's major mode.
-Usually a string.  See `mode-line-format' for other possible forms.  */);
+Usually a string.  See `mode-line-format' for other possible forms.
+Use the function `format-mode-line' to get the value as a string.  */);
 
   DEFVAR_PER_BUFFER ("local-abbrev-table", &current_buffer->abbrev_table, Qnil,
                     doc: /* Local (mode-specific) abbrev table of current buffer.  */);