Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f7b4b63a
Commit
f7b4b63a
authored
Apr 07, 1994
by
Karl Heuer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(display_text_line): minibuffer_prompt_width is a distance, not an absolute
position.
parent
c5896ef4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
src/xdisp.c
src/xdisp.c
+9
-3
No files found.
src/xdisp.c
View file @
f7b4b63a
...
...
@@ -2076,10 +2076,16 @@ display_text_line (w, start, vpos, hpos, taboffset)
&&
vpos
==
XFASTINT
(
w
->
top
))
{
if
(
minibuf_prompt
)
hpos
=
display_string
(
w
,
vpos
,
minibuf_prompt
,
-
1
,
hpos
,
{
minibuf_prompt_width
=
(
display_string
(
w
,
vpos
,
minibuf_prompt
,
-
1
,
hpos
,
(
!
truncate
?
continuer
:
truncator
),
1
,
-
1
,
-
1
);
minibuf_prompt_width
=
hpos
;
1
,
-
1
,
-
1
)
-
hpos
);
hpos
+=
minibuf_prompt_width
;
}
else
minibuf_prompt_width
=
0
;
}
desired_glyphs
->
bufp
[
vpos
]
=
pos
;
...
...
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