diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-05-05 03:04:06 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-05-05 03:04:06 +0000 |
commit | e1c953ad6eed0b809cd8e1d4c290f58f7d46e237 (patch) | |
tree | 003eee0301511a86bfdb5c67fe02adf113844f01 /src/indent.c | |
parent | 240ff927be8361c4b4af7bdb7ade1778b41ada03 (diff) | |
download | emacs-e1c953ad6eed0b809cd8e1d4c290f58f7d46e237.tar.gz |
(string_display_width): Renamed from string_width.
(vmotion): Use new name.
Diffstat (limited to 'src/indent.c')
-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 () 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; } |