diff options
| author | Alan Mackenzie | 2021-04-20 10:14:40 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2021-04-20 10:14:40 +0000 |
| commit | 55db25b2579e5d84dfcf3a15957fc7a827abf25f (patch) | |
| tree | fb6e10d4f8cc64ded0af807b8c6384a99b4392fc /etc | |
| parent | 296ef2e99b7cd83ad236230ddc941c7dbc8766e6 (diff) | |
| download | emacs-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -2393,6 +2393,10 @@ This affects the suffix specified by completion 'annotation-function'. | |||
| 2393 | The mark will be set to point to the end of the new buffer. | 2393 | The 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 | ||
| 2397 | erroneous '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. |
| 2397 | If 'minibuffer-allow-text-properties' is non-nil, doing completion | 2401 | If 'minibuffer-allow-text-properties' is non-nil, doing completion |
| 2398 | over a table of strings with properties will no longer remove all the | 2402 | over a table of strings with properties will no longer remove all the |