aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorStefan Monnier2005-03-01 13:17:47 +0000
committerStefan Monnier2005-03-01 13:17:47 +0000
commitf4a5a4857b4da085876be653fa89cf73da40f622 (patch)
tree17de797e9a972793974cbf3c129ea4d1ef6b717a /src/keyboard.c
parent439368ed413819be3f5494f8b72242306081c81f (diff)
downloademacs-f4a5a4857b4da085876be653fa89cf73da40f622.tar.gz
emacs-f4a5a4857b4da085876be653fa89cf73da40f622.zip
(Fposn_at_x_y): Check integerness of X and Y.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 67040847af7..4fb8206d5ee 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1,6 +1,6 @@
1/* Keyboard and mouse input; editor command loop. 1/* Keyboard and mouse input; editor command loop.
2 Copyright (C) 1985,86,87,88,89,93,94,95,96,97,99,2000,01,02,03,04 2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995, 1996, 1997,
3 Free Software Foundation, Inc. 3 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -10531,6 +10531,9 @@ The `posn-' functions access elements of such lists. */)
10531 (x, y, frame_or_window, whole) 10531 (x, y, frame_or_window, whole)
10532 Lisp_Object x, y, frame_or_window, whole; 10532 Lisp_Object x, y, frame_or_window, whole;
10533{ 10533{
10534 CHECK_NATNUM (x);
10535 CHECK_NATNUM (y);
10536
10534 if (NILP (frame_or_window)) 10537 if (NILP (frame_or_window))
10535 frame_or_window = selected_window; 10538 frame_or_window = selected_window;
10536 10539