aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorNoam Postavsky2019-08-03 20:19:31 -0400
committerNoam Postavsky2019-08-20 20:20:52 -0400
commit7e2090ee80c9099ee953392444e1d73d10e973d4 (patch)
tree5fc7f91f27dd90b1b8e1a52ec8fb444de043c2ea /etc
parent5a9552128296478ec74594b45d0728d87450197e (diff)
downloademacs-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/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 7c329f0044a..9f25cf4af51 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2569,6 +2569,9 @@ subr.el so that it is available by default. It now always returns the
2569non-nil argument when the other is nil. Several duplicates of 'xor' 2569non-nil argument when the other is nil. Several duplicates of 'xor'
2570in other packages are now obsolete aliases of 'xor'. 2570in 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