summaryrefslogtreecommitdiff
path: root/src/indent.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-05-05 03:04:06 +0000
committerRichard M. Stallman <rms@gnu.org>1995-05-05 03:04:06 +0000
commit382ac0bd0801b1ba03268f2509d96ed78cfe1df4 (patch)
tree36522bae2cd80b6e3030345dc3bb760f2f0796bf /src/indent.c
parent14f6194bdcdbce5a37fc42545bb275e0d8d28c43 (diff)
(string_display_width): Renamed from string_width.
(vmotion): Use new name.
Diffstat (limited to 'src/indent.c')
-rw-r--r--src/indent.c5
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 ()
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;
}