]> git.eshelyaron.com Git - emacs.git/commit
Introduce and use minibuffer-mode. This fixes bug #47150
authorAlan Mackenzie <acm@muc.de>
Tue, 20 Apr 2021 10:14:40 +0000 (10:14 +0000)
committerAlan Mackenzie <acm@muc.de>
Tue, 20 Apr 2021 10:14:40 +0000 (10:14 +0000)
commit55db25b2579e5d84dfcf3a15957fc7a827abf25f
treefb6e10d4f8cc64ded0af807b8c6384a99b4392fc
parent296ef2e99b7cd83ad236230ddc941c7dbc8766e6
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.
doc/emacs/mini.texi
doc/lispref/minibuf.texi
etc/NEWS
lisp/minibuffer.el
src/minibuf.c