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
2c081c2d
Commit
2c081c2d
authored
Dec 21, 1995
by
Karl Heuer
Browse files
(redisplay_window): Don't do the scroll_step thing
if startp is outside the accessible part of the buffer.
parent
fcd4533c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/xdisp.c
src/xdisp.c
+2
-1
No files found.
src/xdisp.c
View file @
2c081c2d
...
...
@@ -1679,7 +1679,8 @@ redisplay_window (window, just_this_one)
/* Try to scroll by specified few lines */
if
(
scroll_step
&&
!
current_buffer
->
clip_changed
)
if (scroll_step && !current_buffer->clip_changed
&& startp >= BEGV && startp <= ZV)
{
if (PT > startp)
{
...
...
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