Mercurial > emacs
changeset 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 | 3c5b974e1c10 |
children | 29064b5e5398 |
files | src/indent.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
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; }