comparison lispref/modes.texi @ 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 3c8535295b32
children 1210b12b4089
comparison
equal deleted inserted replaced
61852:48375a96a41a 61853:7f8f03acf7fe
251 sections of a buffer, by setting up a buffer-local value for the 251 sections of a buffer, by setting up a buffer-local value for the
252 variable @code{imenu-generic-expression}, for the pair of variables 252 variable @code{imenu-generic-expression}, for the pair of variables
253 @code{imenu-prev-index-position-function} and 253 @code{imenu-prev-index-position-function} and
254 @code{imenu-extract-index-name-function}, or for the variable 254 @code{imenu-extract-index-name-function}, or for the variable
255 @code{imenu-create-index-function} (@pxref{Imenu}). 255 @code{imenu-create-index-function} (@pxref{Imenu}).
256
257 @item
258 The mode can specify a local value for
259 @code{eldoc-documentation-function} to tell ElDoc mode how to handle
260 this mode.
256 261
257 @item 262 @item
258 Use @code{defvar} or @code{defcustom} to set mode-related variables, so 263 Use @code{defvar} or @code{defcustom} to set mode-related variables, so
259 that they are not reinitialized if they already have a value. (Such 264 that they are not reinitialized if they already have a value. (Such
260 reinitialization could discard customizations made by the user.) 265 reinitialization could discard customizations made by the user.)