Fix warning

This commit is contained in:
David Morgan 2021-09-10 19:55:18 +01:00
parent 543ed1f1ac
commit bc0f5f9c24
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@
(vertico-mode)
(setq vertico-cycle t)
(advice-add #'vertico--format-candidate :around
(lambda (orig cand prefix suffix index _start)
(setq cand (funcall orig cand prefix suffix index _start))
(lambda (orig cand prefix suffix index start)
(setq cand (funcall orig cand prefix suffix index start))
(concat
(if (= vertico--index index)
(propertize "» " 'face 'vertico-current)