mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
(Fselect_window): Fix bug checking new_point is in range.
This commit is contained in:
parent
b6dd20ed5a
commit
a9c95e08a1
@ -1729,7 +1729,7 @@ before each command.")
|
||||
register int new_point = marker_position (w->pointm);
|
||||
if (new_point < BEGV)
|
||||
SET_PT (BEGV);
|
||||
if (new_point > ZV)
|
||||
else if (new_point > ZV)
|
||||
SET_PT (ZV);
|
||||
else
|
||||
SET_PT (new_point);
|
||||
|
Loading…
Reference in New Issue
Block a user