更改 emacs ido 显示的数量

Change number of emacs ido display

我觉得emacs ido display item number有点少,如何更改ido display number?

C-h v ido-max-prospects:

ido-max-prospects is a variable defined in `ido.el'.
Its value is 12

Documentation:
Upper limit of the prospect list if non-zero.
Zero means no limit for the prospect list.
For a long list of prospects, building the full list for the
minibuffer can take a non-negligible amount of time; setting this
variable reduces that time.

You can customize this variable.

(setq ido-max-prospects 5) ;; show 5 or fewer candidates in ido

顺便说一句,我通过查看 M-x customize-group ido.

中的所有变量找到了这个变量