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
cb1068e5
Commit
cb1068e5
authored
Apr 11, 1994
by
Karl Heuer
Browse files
(vmotion): Use minibuf_prompt_width despite window-start.
parent
88f176a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/indent.c
src/indent.c
+5
-2
No files found.
src/indent.c
View file @
cb1068e5
...
...
@@ -760,8 +760,11 @@ vmotion (from, vtarget, width, hscroll, window)
=
XTYPE
(
current_buffer
->
selective_display
)
==
Lisp_Int
?
XINT
(
current_buffer
->
selective_display
)
:
!
NILP
(
current_buffer
->
selective_display
)
?
-
1
:
0
;
int
start_hpos
=
(
EQ
(
window
,
minibuf_window
)
&&
XWINDOW
(
window
)
->
start
==
1
?
minibuf_prompt_width
:
0
);
/* The omission of the clause
&& marker_position (XWINDOW (window)->start) == BEG
here is deliberate; I think we want to measure from the prompt
position even if the minibuffer window has scrolled. */
int
start_hpos
=
(
EQ
(
window
,
minibuf_window
)
?
minibuf_prompt_width
:
0
);
retry:
if
(
vtarget
>
vpos
)
...
...
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