]> git.eshelyaron.com Git - emacs.git/commit
New command 'minibuffer-apply'
authorEshel Yaron <me@eshelyaron.com>
Wed, 21 Feb 2024 16:23:57 +0000 (17:23 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 21 Feb 2024 16:23:57 +0000 (17:23 +0100)
commitb46af4439952accf8119d471c17f9b6a035692cf
tree3f1248e0d4c8d74348d4b43f8bd6e9623f7ffa98
parente41b1d376f1c9628445d67fa75360b1ddad2783d
New command 'minibuffer-apply'

* lisp/minibuffer.el (completions-used-input): New face.
(minibuffer-completion-action): New variable and function.
(minibuffer-completion-command): New variable.
(completing-read-default): Set it to 'this-command'.
(minibuffer-current-input): New function.
(minibuffer-apply): New command.
(minibuffer-local-completion-map): Bind it to 'C-j'.
(minibuffer-local-must-match-map): Unbind 'C-j'.

* lisp/cus-edit.el (customize-toggle-option): Set
'minibuffer-action' property to non-nil.

* etc/NEWS: Announce it.
etc/NEWS
lisp/cus-edit.el
lisp/minibuffer.el