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
f567c488
Commit
f567c488
authored
Jul 07, 2005
by
Kim F. Storm
Browse files
(Frecenter): Remove superfluous settings of iarg.
parent
ae12ecd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
src/window.c
src/window.c
+2
-5
No files found.
src/window.c
View file @
f567c488
...
...
@@ -5453,7 +5453,6 @@ and redisplay normally--don't erase and redraw the frame. */)
{
struct position pos;
iarg
=
XINT
(
arg
);
iarg = max (iarg, this_scroll_margin);
pos = *vmotion (PT, -iarg, w);
...
...
@@ -5468,10 +5467,8 @@ and redisplay normally--don't erase and redraw the frame. */)
if (center_p)
iarg = make_number (ht / 2);
else
if
(
XINT
(
arg
)
<
0
)
iarg
=
XINT
(
arg
)
+
ht
;
else
iarg
=
XINT
(
arg
);
else if (iarg < 0)
iarg += ht;
/* Don't let it get into the margin at either top or bottom. */
iarg = max (iarg, this_scroll_margin);
...
...
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