diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index c746a374b32..9eb11c602de 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi @@ -1316,8 +1316,8 @@ This abnormal hook holds documentation functions. It acts as a collection of backends for ElDoc. This is what modes should use to register their documentation functions with ElDoc. -@vindex eldoc-display-truncation-message -@item eldoc-display-truncation-message +@vindex eldoc-echo-area-display-truncation-message +@item eldoc-echo-area-display-truncation-message If non-@code{nil} (the default), display a verbose message about how to view a complete documentation (if it has been truncated in the echo area). If @code{nil}, just mark truncated messages with @samp{...}.