(list string nil action)
(list string pred action))))
- (define-key minibuffer-local-completion-map
- [remap previous-line] #'minibuffer-previous-completion)
- (define-key minibuffer-local-completion-map
- [remap next-line] #'minibuffer-next-completion)
+ (keymap-set minibuffer-local-completion-map
+ "<remap> <previous-line>"
+ #'minibuffer-previous-completion)
+
+ (keymap-set minibuffer-local-completion-map
+ "<remap> <next-line>"
+ #'minibuffer-next-completion)
+
+ (keymap-set minibuffer-local-completion-map
+ "<remap> <default-indent-new-line>"
+ #'minibuffer-force-complete-and-exit)
+
(with-eval-after-load 'marginalia
(add-hook 'marginalia-mode-hook #'all-the-icons-completion-marginalia-setup))