Mercurial > emacs
diff src/indent.c @ 11704:6c9716b7a23d
(string_display_width): Renamed from string_width.
(vmotion): Use new name.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 05 May 1995 03:04:06 +0000 |
parents | f48922d85166 |
children | a0db528dfa1c |
line wrap: on
line diff
--- a/src/indent.c Fri May 05 03:02:02 1995 +0000 +++ b/src/indent.c Fri May 05 03:04:06 1995 +0000 @@ -279,7 +279,7 @@ 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 @@ 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; }