Mercurial > emacs
changeset 11813:5b7a7c92323d
(vmotion): handle the case where `minibuf_prompt' is nil.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Mon, 15 May 1995 21:47:44 +0000 |
parents | 0ef485e86493 |
children | f9c9e52a7ef5 |
files | src/indent.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/indent.c Sat May 13 09:37:50 1995 +0000 +++ b/src/indent.c Mon May 15 21:47:44 1995 +0000 @@ -1095,7 +1095,7 @@ 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)) minibuf_prompt_width = string_display_width (minibuf_prompt, Qnil, Qnil);