From 382ac0bd0801b1ba03268f2509d96ed78cfe1df4 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 5 May 1995 03:04:06 +0000 Subject: [PATCH] (string_display_width): Renamed from string_width. (vmotion): Use new name. --- src/indent.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/indent.c b/src/indent.c index b8d3db3b193..433105d4833 100644 --- a/src/indent.c +++ b/src/indent.c @@ -279,7 +279,7 @@ current_column () If END is nil, that stands for the end of STRING. */ static int -string_width (string, beg, end) +string_display_width (string, beg, end) Lisp_Object string, beg, end; { register int col; @@ -1092,7 +1092,8 @@ vmotion (from, vtarget, width, hscroll, window) if (EQ (window, minibuf_window)) { if (minibuf_prompt_width == 0) - minibuf_prompt_width = string_width (minibuf_prompt, Qnil, Qnil); + minibuf_prompt_width + = string_display_width (minibuf_prompt, Qnil, Qnil); start_hpos = minibuf_prompt_width; } -- 2.39.5