help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lisp help messages in echo area


From: Kaushal Modi
Subject: Re: Lisp help messages in echo area
Date: Sun, 16 Jul 2017 18:36:06 +0000

On Sun, Jul 16, 2017, 2:25 PM John Ankarström <john@ankarstrom.se> wrote:

> Hello all,
>
> I have a really simple question: what function triggers the Emacs
> Lisp help messages in the echo area?
>
> For example, when I put my cursor inside a (defun) expression,
> the following displays in the echo area:
>
> --8<---------------cut here---------------start------------->8---
> defun: (NAME ARGLIST &optional DOCSTRING DECL &rest BODY)
> --8<---------------cut here---------------end--------------->8---
>

That's eldoc-mode.

I'm asking because I'd like to fix the function
> `outshine-self-insert-command' from the `outshine' package, which
> doesn't trigger the Lisp help message, unlike the default
> `self-insert-command'.
>
> If anybody knows the answer, or has any pointers as to where I
> should look, I'd be greatful.
>

Yeah that's annoying. Thankfully this fixes it:

(with-eval-after-load 'eldoc
  (eldoc-add-command 'outshine-self-insert-command))

> --

Kaushal Modi


reply via email to

[Prev in Thread] Current Thread [Next in Thread]