diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/indent.c | 5 |
1 files 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 () | |||
| 279 | If END is nil, that stands for the end of STRING. */ | 279 | If END is nil, that stands for the end of STRING. */ |
| 280 | 280 | ||
| 281 | static int | 281 | static int |
| 282 | string_width (string, beg, end) | 282 | string_display_width (string, beg, end) |
| 283 | Lisp_Object string, beg, end; | 283 | Lisp_Object string, beg, end; |
| 284 | { | 284 | { |
| 285 | register int col; | 285 | register int col; |
| @@ -1092,7 +1092,8 @@ vmotion (from, vtarget, width, hscroll, window) | |||
| 1092 | if (EQ (window, minibuf_window)) | 1092 | if (EQ (window, minibuf_window)) |
| 1093 | { | 1093 | { |
| 1094 | if (minibuf_prompt_width == 0) | 1094 | if (minibuf_prompt_width == 0) |
| 1095 | minibuf_prompt_width = string_width (minibuf_prompt, Qnil, Qnil); | 1095 | minibuf_prompt_width |
| 1096 | = string_display_width (minibuf_prompt, Qnil, Qnil); | ||
| 1096 | 1097 | ||
| 1097 | start_hpos = minibuf_prompt_width; | 1098 | start_hpos = minibuf_prompt_width; |
| 1098 | } | 1099 | } |