summaryrefslogtreecommitdiff
path: root/lispref/modes.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-04-26 10:57:21 +0000
committerRichard M. Stallman <rms@gnu.org>2005-04-26 10:57:21 +0000
commite54eeb44427f50be3d2654cb17297b7d92922b72 (patch)
tree29dc24264c0a7350b9e9bcb610678be436cd2740 /lispref/modes.texi
parenta33db1ddfc329267fb02a19035da631a61895f70 (diff)
downloademacs-e54eeb44427f50be3d2654cb17297b7d92922b72.tar.gz
(Major Mode Conventions): Explain customizing ElDoc mode.
Diffstat (limited to 'lispref/modes.texi')
-rw-r--r--lispref/modes.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/lispref/modes.texi b/lispref/modes.texi
index 6087d7f89ae..4c7d1130267 100644
--- a/lispref/modes.texi
+++ b/lispref/modes.texi
@@ -255,6 +255,11 @@ variable @code{imenu-generic-expression}, for the pair of variables
@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.)