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
1ab964d7
Commit
1ab964d7
authored
Dec 27, 2001
by
Ken Raeburn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* window.c (enlarge_window): In new preserve_before code, convert CURBEG from
lisp object to integer before doing arithmetic.
parent
5274126b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/window.c
src/window.c
+1
-1
No files found.
src/ChangeLog
View file @
1ab964d7
2001-12-27 Ken Raeburn <raeburn@gnu.org>
* window.c (enlarge_window): In new preserve_before code, convert
CURBEG from lisp object to integer before doing arithmetic.
2001-12-27 Richard M. Stallman <rms@gnu.org>
* bytecode.c (Fbyte_code): Undo previous change.
...
...
src/window.c
View file @
1ab964d7
...
...
@@ -3394,7 +3394,7 @@ enlarge_window (window, delta, widthflag, preserve_before)
{
maxdelta
=
(
*
sizefun
)
(
parent
)
-
XINT
(
*
sizep
);
/* Subtract size of siblings before, since we can't take that. */
maxdelta
-=
CURBEG
(
window
)
-
CURBEG
(
parent
);
maxdelta
-=
XINT
(
CURBEG
(
window
)
)
-
XINT
(
CURBEG
(
parent
)
)
;
}
else
maxdelta
=
(
!
NILP
(
p
->
next
)
?
((
*
sizefun
)
(
p
->
next
)
...
...
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