From: Glenn Morris Date: Sun, 10 Feb 2008 02:14:20 +0000 (+0000) Subject: (mode-name): Doc fix. X-Git-Tag: emacs-pretest-23.0.90~8050 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d224e8c25145e2798fa52327efb49bc556c7241e;p=emacs.git (mode-name): Doc fix. --- diff --git a/src/ChangeLog b/src/ChangeLog index fed26defa70..afc6603da5e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2008-02-10 Glenn Morris + + * buffer.c (mode-name): Doc fix. + 2008-02-09 Dan Nicolaescu * src/Makefile.in: diff --git a/src/buffer.c b/src/buffer.c index f48254142e1..d056ce7dc48 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -5607,7 +5607,8 @@ its hooks should not expect certain variables such as DEFVAR_PER_BUFFER ("mode-name", ¤t_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", ¤t_buffer->abbrev_table, Qnil, doc: /* Local (mode-specific) abbrev table of current buffer. */);