(let ((done (equal (car all) (buffer-substring-no-properties base end))))
(unless done (completion--replace base end cur))
(completion--done (buffer-substring-no-properties start (point))
- 'finished (when done "Sole completion"))
+ 'finished (if done "Sole completion" "."))
(setq completion-all-sorted-completions nil)))
(t
(completion--replace base end cur)
(setq end (+ base (length cur)))
- (completion--done (buffer-substring-no-properties start (point)) 'sole)
+ (completion--done (buffer-substring-no-properties start (point)) 'sole
+ (propertize
+ (concat "/" (number-to-string
+ (let ((all all) (n 1))
+ (while (consp (cdr all))
+ (setq n (1+ n)
+ all (cdr all)))
+ n)))
+ 'face 'shadow))
(minibuffer--highlight-in-completions cur)
(let ((last (last all)))
(setcdr last (cons cur (cdr last)))