diff options
Diffstat (limited to 'lisp/ido.el')
-rw-r--r-- | lisp/ido.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/ido.el b/lisp/ido.el index 355be5eaa66..6707d814077 100644 --- a/lisp/ido.el +++ b/lisp/ido.el @@ -4732,6 +4732,9 @@ For details of keybindings, see `ido-find-file'." (delete-overlay ido--overlay)) (let ((o (make-overlay (point-max) (point-max) nil t t))) (when (> (length inf) 0) + ;; For hacks that redefine ido-completions function (bug#39379) + (when (eq (aref inf 0) ?\n) + (setq inf (concat " " inf))) (put-text-property 0 1 'cursor t inf)) (overlay-put o 'after-string inf) (setq ido--overlay o))) |