'(universal-argument
negative-argument
digit-argument
- minibuffer-cycle-completion)))
+ minibuffer-cycle-completion
+ minibuffer-apply-and-cycle-completion)))
(lambda ()
(setq completion-all-sorted-completions nil))))))))
+(defun minibuffer-apply-and-cycle-completion (n)
+ "Apply minibuffer action to current input and cycle N candidates forward."
+ (interactive "p" minibuffer-mode)
+ (let ((input-prefix (minibuffer-current-input)))
+ (minibuffer-apply (car input-prefix) (cdr input-prefix)))
+ (minibuffer-cycle-completion n))
+
(defvar minibuffer-confirm-exit-commands
'(completion-at-point minibuffer-complete)
"List of commands which cause an immediately following
:parent minibuffer-local-map
"TAB" #'minibuffer-complete
"C-o" #'minibuffer-cycle-completion
+ "C-M-o" #'minibuffer-apply-and-cycle-completion
"C-l" #'minibuffer-restore-completion-input
"C-S-a" #'minibuffer-toggle-completion-ignore-case
"?" #'minibuffer-completion-help