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
96ae58c8
Commit
96ae58c8
authored
Jan 01, 2003
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(window_scroll_pixel_based): Partially undo last change.
parent
2764bebd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/window.c
src/window.c
+4
-2
No files found.
src/window.c
View file @
96ae58c8
...
...
@@ -4147,9 +4147,11 @@ window_scroll_pixel_based (window, n, whole, noerror)
else
move_it_by_lines (&it, n, 1);
/* End if we end up at ZV or BEGV. */
/* We failed if we find ZV is already on the screen (scrolling up,
means there's nothing past the end), or if we can't start any
earlier (scrolling down, means there's nothing past the top). */
if ((n > 0 && IT_CHARPOS (it) == ZV)
|| (n < 0 && IT_CHARPOS (it) ==
BEGV
))
|| (n < 0 && IT_CHARPOS (it) ==
CHARPOS (start)
))
{
if (IT_CHARPOS (it) == ZV)
{
...
...
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