Mercurial > emacs
changeset 61853:7f8f03acf7fe
(Major Mode Conventions): Explain customizing ElDoc mode.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 26 Apr 2005 10:57:21 +0000 |
parents | 48375a96a41a |
children | 60784460465e |
files | lispref/modes.texi |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/modes.texi Tue Apr 26 10:55:24 2005 +0000 +++ b/lispref/modes.texi Tue Apr 26 10:57:21 2005 +0000 @@ -255,6 +255,11 @@ @code{imenu-create-index-function} (@pxref{Imenu}). @item +The mode can specify a local value for +@code{eldoc-documentation-function} to tell ElDoc mode how to handle +this mode. + +@item Use @code{defvar} or @code{defcustom} to set mode-related variables, so that they are not reinitialized if they already have a value. (Such reinitialization could discard customizations made by the user.)