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

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

bug#27230: eldoc doc


From: Dmitry Gutov
Subject: bug#27230: eldoc doc
Date: Mon, 26 Jun 2017 04:04:18 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Thunderbird/54.0

On 6/25/17 10:47 PM, Charles A. Roelli wrote:

FORMAT-STRING (or nil, if not given) is stored in
`eldoc-last-message'.  If ARGS are given, FORMAT-STRING is first
formatted through `format-message'.

I wonder if we ever call this function with more than one argument. If not, the code and the doc call for simplification. We can avoid advertising this possibility, at least.

If `eldoc-last-message' is non-nil, display it using
`eldoc-message-function'.  If it is nil, clear the echo area if
there was recently a message from ElDoc there.

I think this needlessly prioritizes the implementation over the intention. And the latter is to display whatever the documentation function returns (if non-nil). Saving to eldoc-last-message is secondary, and can be mentioned later.

Return `eldoc-last-message'."

This is probably non-essential, and we can avoid mentioning it.





reply via email to

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