|
From: | Juri Linkov |
Subject: | Re: Select completions from the minibuffer |
Date: | Sun, 20 Mar 2022 20:42:44 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
> Actually thinking a bit more on this... You can do the same just doing a > setq-local in the same command instead of a let or a window parameter... Thanks, good idea, I confirm this works nice: ``` (defun minibuffer-next-completion (&optional n) "Run `next-completion' from the minibuffer in its completions window." (interactive "p") (with-minibuffer-completions-window (setq-local cursor-face-highlight-nonselected-window t) (next-completion n))) ```
[Prev in Thread] | Current Thread | [Next in Thread] |