changeset 91711:9f409926e851

(mode-name): Doc fix.
author Glenn Morris <rgm@gnu.org>
date Sun, 10 Feb 2008 02:14:00 +0000
parents faf739f906df
children 673d6dc12d34
files src/buffer.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Sun Feb 10 02:07:09 2008 +0000
+++ b/src/buffer.c	Sun Feb 10 02:14:00 2008 +0000
@@ -5607,7 +5607,8 @@
   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.  */);