aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorAlan Mackenzie2021-04-20 10:14:40 +0000
committerAlan Mackenzie2021-04-20 10:14:40 +0000
commit55db25b2579e5d84dfcf3a15957fc7a827abf25f (patch)
treefb6e10d4f8cc64ded0af807b8c6384a99b4392fc /etc
parent296ef2e99b7cd83ad236230ddc941c7dbc8766e6 (diff)
downloademacs-55db25b2579e5d84dfcf3a15957fc7a827abf25f.tar.gz
emacs-55db25b2579e5d84dfcf3a15957fc7a827abf25f.zip
Introduce and use minibuffer-mode. This fixes bug #47150
* lisp/minibuffer.el (minibuffer-mode): New derived mode. * src/minibuf.c (syms_of_minibuf): New DEFSYMs Qminibuffer_mode, Qminibuffer_inactive_mode, Qminibuffer_completing_file_name, Qselect_frame_set_input_focus, Qadd_to_history. (read_minibuf, set_minibuffer_mode, read_minibuf_unwind): Use the new DEFSYMs in place of continual interning. (set_minibuffer_mode): Put an active minibuffer into minibuffer-mode rather than fundamental-mode. * doc/emacs/mini.texi (Minibuffer Edit): Mention minibuffer-mode. * doc/lispref/minibuf.texi (Intro to Minibuffers): Add a paragraph about minibuffer-mode. * etc/NEWS (Incompatible Lisp Changes in Emacs 28.1): Add an entry.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index b641e8d95f7..3e5767c953e 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2393,6 +2393,10 @@ This affects the suffix specified by completion 'annotation-function'.
2393The mark will be set to point to the end of the new buffer. 2393The mark will be set to point to the end of the new buffer.
2394 2394
2395+++ 2395+++
2396** An active minibuffer now has major mode 'minibuffer-mode', not the
2397erroneous 'minibuffer-inactive-mode' it formerly had.
2398
2399+++
2396** Some properties from completion tables are now preserved. 2400** Some properties from completion tables are now preserved.
2397If 'minibuffer-allow-text-properties' is non-nil, doing completion 2401If 'minibuffer-allow-text-properties' is non-nil, doing completion
2398over a table of strings with properties will no longer remove all the 2402over a table of strings with properties will no longer remove all the