HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae12ecd
)
(Frecenter): Remove superfluous settings of iarg.
author
Kim F. Storm
<storm@cua.dk>
Thu, 7 Jul 2005 09:36:18 +0000
(09:36 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Thu, 7 Jul 2005 09:36:18 +0000
(09:36 +0000)
src/window.c
patch
|
blob
|
blame
|
history
diff --git
a/src/window.c
b/src/window.c
index
9589879
..
cf1142e
100644
(file)
--- a/
src/window.c
+++ b/
src/window.c
@@
-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);