From: Richard M. Stallman Date: Tue, 26 Apr 2005 10:57:21 +0000 (+0000) Subject: (Major Mode Conventions): Explain customizing ElDoc mode. X-Git-Tag: ttn-vms-21-2-B4~731 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e54eeb44427f50be3d2654cb17297b7d92922b72;p=emacs.git (Major Mode Conventions): Explain customizing ElDoc mode. --- diff --git a/lispref/modes.texi b/lispref/modes.texi index 6087d7f89ae..4c7d1130267 100644 --- a/lispref/modes.texi +++ b/lispref/modes.texi @@ -254,6 +254,11 @@ variable @code{imenu-generic-expression}, for the pair of variables @code{imenu-extract-index-name-function}, or for the variable @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