Skip to content

Commit 4a0a114

Browse files
committed
Support ido-vertical-mode better
* lisp/ido.el (ido-exhibit): Prepend a space to INF if it starts with a newline (bug#39379).
1 parent ef5fba9 commit 4a0a114

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lisp/ido.el

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4732,6 +4732,9 @@ For details of keybindings, see `ido-find-file'."
47324732
(delete-overlay ido--overlay))
47334733
(let ((o (make-overlay (point-max) (point-max) nil t t)))
47344734
(when (> (length inf) 0)
4735+
;; For hacks that redefine ido-completions function (bug#39379)
4736+
(when (eq (aref inf 0) ?\n)
4737+
(setq inf (concat " " inf)))
47354738
(put-text-property 0 1 'cursor t inf))
47364739
(overlay-put o 'after-string inf)
47374740
(setq ido--overlay o)))

0 commit comments

Comments
 (0)