Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
382ac0bd
Commit
382ac0bd
authored
May 05, 1995
by
Richard M. Stallman
Browse files
(string_display_width): Renamed from string_width.
(vmotion): Use new name.
parent
14f6194b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/indent.c
src/indent.c
+3
-2
No files found.
src/indent.c
View file @
382ac0bd
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment