|
From: | Dmitry Gutov |
Subject: | bug#19853: Acknowledgement (25.0.50; ElDoc is displayed whether eldoc-mode is enabled or not) |
Date: | Sun, 20 Mar 2016 20:25:11 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 |
On 03/20/2016 08:21 PM, Michael Heerdegen wrote:
I think it's simpler that way: `global-eldoc-mode' adds its stuff to the global hook bindings. Thus toggling the global mode has an instant effect on all buffers. The globalized local eldoc mode would only have an effect in new buffers or after changing the major mode.
That's not true: turning off a globalized mode turns off the related minor mode in all buffers. So, instant effect as well.
The current implementation, however, is not "simpler": both modes set up hooks. For some reasons, they also do that in slightly different ways.
What exactly is this bug report about (this question, or the statement in the subject, for which you didn't provide a recipe)?
I did provide a recipe, in the bug description.
[Prev in Thread] | Current Thread | [Next in Thread] |