diff --git a/ivy-overlay.el b/ivy-overlay.el index 422a5b22..648035f0 100644 --- a/ivy-overlay.el +++ b/ivy-overlay.el @@ -134,7 +134,8 @@ Hide the minibuffer contents and cursor." 1 0) (save-excursion - (goto-char ivy-completion-beg) + (when ivy-completion-beg + (goto-char ivy-completion-beg)) (current-column))))))))) (let ((cursor-offset (1+ (length ivy-text)))) (ivy-add-face-text-property cursor-offset (1+ cursor-offset)