diff options
| author | Richard M. Stallman | 1995-05-05 03:04:06 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-05-05 03:04:06 +0000 |
| commit | 382ac0bd0801b1ba03268f2509d96ed78cfe1df4 (patch) | |
| tree | 36522bae2cd80b6e3030345dc3bb760f2f0796bf /src | |
| parent | 14f6194bdcdbce5a37fc42545bb275e0d8d28c43 (diff) | |
| download | emacs-382ac0bd0801b1ba03268f2509d96ed78cfe1df4.tar.gz emacs-382ac0bd0801b1ba03268f2509d96ed78cfe1df4.zip | |
(string_display_width): Renamed from string_width.
(vmotion): Use new name.
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 | } |