diff options
| author | Noam Postavsky | 2019-08-03 20:19:31 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2019-08-20 20:20:52 -0400 |
| commit | 7e2090ee80c9099ee953392444e1d73d10e973d4 (patch) | |
| tree | 5fc7f91f27dd90b1b8e1a52ec8fb444de043c2ea /etc | |
| parent | 5a9552128296478ec74594b45d0728d87450197e (diff) | |
| download | emacs-7e2090ee80c9099ee953392444e1d73d10e973d4.tar.gz emacs-7e2090ee80c9099ee953392444e1d73d10e973d4.zip | |
Respect global-eldoc-mode in minibuffers (Bug#36886)
* lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Accept
a BODY parameter.
* doc/lispref/modes.texi (Defining Minor Modes): Document new
parameter.
* etc/NEWS: Announce it.
* lisp/simple.el (read--expression): Move eldoc-mode setup to...
* lisp/emacs-lisp/eldoc.el (eldoc--eval-expression-setup): ... here,
new function.
(global-eldoc-mode): Add or remove it to
eval-expression-minibuffer-setup-hook when enabling or disabling
global-eldoc-mode. This enables eldoc in the minibuffer (solving
Bug#27202), only when global-eldoc-mode is enabled.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -2569,6 +2569,9 @@ subr.el so that it is available by default. It now always returns the | |||
| 2569 | non-nil argument when the other is nil. Several duplicates of 'xor' | 2569 | non-nil argument when the other is nil. Several duplicates of 'xor' |
| 2570 | in other packages are now obsolete aliases of 'xor'. | 2570 | in other packages are now obsolete aliases of 'xor'. |
| 2571 | 2571 | ||
| 2572 | +++ | ||
| 2573 | ** 'define-globalized-minor-mode' now takes BODY forms. | ||
| 2574 | |||
| 2572 | 2575 | ||
| 2573 | * Changes in Emacs 27.1 on Non-Free Operating Systems | 2576 | * Changes in Emacs 27.1 on Non-Free Operating Systems |
| 2574 | 2577 | ||