;; Minibuffer side commands
-
(defmacro with-minibuffer-scroll-window (&rest body)
"Execute BODY in *Completions* buffer and return to `minibuffer'.
The command is only executed if the `minibuffer-scroll-window' is
(completions-highlight-previous-line-completion n)))
;; General commands
-
(defun minibuffer-completion-set-suffix (choice)
"Set CHOICE suffix to current completion.
It uses `completion-base-position' to determine the cursor
(use-local-map (make-composed-keymap
completions-highlight-minibuffer-map (current-local-map))))
+;;;###autoload
(define-minor-mode completions-highlight-mode
"Completion highlight mode to enable candidates highlight in the minibuffer."
:global t