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
230a75fc
Commit
230a75fc
authored
Apr 09, 1994
by
Karl Heuer
Browse files
(Fvertical_motion): Use window arg, not selected_window.
parent
36f41915
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/indent.c
src/indent.c
+3
-3
No files found.
src/indent.c
View file @
230a75fc
...
...
@@ -860,8 +860,7 @@ Returns number of lines moved; may be closer to zero than LINES\n\
Lisp_Object
lines
,
window
;
{
struct
position
pos
;
register
struct
window
*
w
=
XWINDOW
(
selected_window
);
int
width
=
window_internal_width
(
w
)
-
1
;
register
struct
window
*
w
;
CHECK_NUMBER
(
lines
,
0
);
if
(
!
NILP
(
window
))
...
...
@@ -869,7 +868,8 @@ Returns number of lines moved; may be closer to zero than LINES\n\
else
XSET
(
window
,
Lisp_Window
,
selected_window
);
pos
=
*
vmotion
(
point
,
XINT
(
lines
),
width
,
w
=
XWINDOW
(
window
);
pos
=
*
vmotion
(
point
,
XINT
(
lines
),
window_internal_width
(
w
)
-
1
,
/* Not XFASTINT since perhaps could be negative */
XINT
(
w
->
hscroll
),
window
);
...
...
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