comparison src/keyboard.c @ 83263:1f334cdd7020

Merged from miles@gnu.org--gnu-2005 (patch 34-36, 142-158) Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-142 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-143 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-144 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-145 (make-text-button): Default button type if not specified * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-146 quick-install-emacs: Use mkdir --verbose only when requested * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-147 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-148 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-149 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-150 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-151 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152 Add info/dir to arch branch * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-153 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-154 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-155 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-156 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-157 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-158 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-34 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-35 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-36 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-303
author Karoly Lorentey <lorentey@elte.hu>
date Sun, 06 Mar 2005 13:31:20 +0000
parents 9684495d72bc 9d9eca6f4905
children c7d2b6ee3a80
comparison
equal deleted inserted replaced
83262:92c8be21e2c3 83263:1f334cdd7020
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
5 This file is part of GNU Emacs. 5 This file is part of GNU Emacs.
6 6
7 GNU Emacs is free software; you can redistribute it and/or modify 7 GNU Emacs is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
10658 IMAGE (DX . DY) (WIDTH . HEIGHT)) 10658 IMAGE (DX . DY) (WIDTH . HEIGHT))
10659 The `posn-' functions access elements of such lists. */) 10659 The `posn-' functions access elements of such lists. */)
10660 (x, y, frame_or_window, whole) 10660 (x, y, frame_or_window, whole)
10661 Lisp_Object x, y, frame_or_window, whole; 10661 Lisp_Object x, y, frame_or_window, whole;
10662 { 10662 {
10663 CHECK_NATNUM (x);
10664 CHECK_NATNUM (y);
10665
10663 if (NILP (frame_or_window)) 10666 if (NILP (frame_or_window))
10664 frame_or_window = selected_window; 10667 frame_or_window = selected_window;
10665 10668
10666 if (WINDOWP (frame_or_window)) 10669 if (WINDOWP (frame_or_window))
10667 { 10670 {