Commit 39fc6077 authored by Karl Heuer's avatar Karl Heuer
Browse files

(vmotion): handle the case where `minibuf_prompt' is nil.

parent 5960289b
......@@ -1095,7 +1095,7 @@ vmotion (from, vtarget, w)
position even if the minibuffer window has scrolled. */
if (EQ (window, minibuf_window))
if (minibuf_prompt_width == 0)
if (minibuf_prompt_width == 0 && STRINGP (minibuf_prompt))
= string_display_width (minibuf_prompt, Qnil, Qnil);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment