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
ba96a5cf
Commit
ba96a5cf
authored
Jul 18, 2006
by
Kim F. Storm
Browse files
(window_scroll_pixel_based, window_scroll_line_based):
Use xsignal0.
parent
dbfcf224
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/window.c
src/window.c
+5
-5
No files found.
src/window.c
View file @
ba96a5cf
...
...
@@ -4959,9 +4959,9 @@ window_scroll_pixel_based (window, n, whole, noerror)
else if (noerror)
return;
else if (n < 0) /* could happen with empty buffers */
F
signal (Qbeginning_of_buffer
, Qnil
);
x
signal
0
(Qbeginning_of_buffer);
else
F
signal (Qend_of_buffer
, Qnil
);
x
signal
0
(Qend_of_buffer);
}
else
{
...
...
@@ -4972,7 +4972,7 @@ window_scroll_pixel_based (window, n, whole, noerror)
else if (noerror)
return;
else
F
signal (Qbeginning_of_buffer
, Qnil
);
x
signal
0
(Qbeginning_of_buffer);
}
/* If control gets here, then we vscrolled. */
...
...
@@ -5173,7 +5173,7 @@ window_scroll_line_based (window, n, whole, noerror)
if (noerror)
return;
else
F
signal (Qbeginning_of_buffer
, Qnil
);
x
signal
0
(Qbeginning_of_buffer);
}
if (pos < ZV)
...
...
@@ -5259,7 +5259,7 @@ window_scroll_line_based (window, n, whole, noerror)
if (noerror)
return;
else
F
signal (Qend_of_buffer
, Qnil
);
x
signal
0
(Qend_of_buffer);
}
}
...
...
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