Mercurial > emacs
comparison src/dosfns.c @ 15393:55f9d648be36
(Fset_mouse_position): Remove the DOS-specific
definition (it's defined on `frame.c').
(syms_of_dosfns): Remove defsubr of `Fset_mouse_position'.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 10 Jun 1996 21:09:54 +0000 |
parents | 31a30cc1d61a |
children | 6cf0a8b5c895 |
comparison
equal
deleted
inserted
replaced
15392:ac7e878c5526 | 15393:55f9d648be36 |
---|---|
161 { | 161 { |
162 if (have_mouse) | 162 if (have_mouse) |
163 return Qt; | 163 return Qt; |
164 else | 164 else |
165 return Qnil; | 165 return Qnil; |
166 } | |
167 | |
168 DEFUN ("set-mouse-position", Fset_mouse_position, Sset_mouse_position, 3, 3, 0, | |
169 "Move the mouse pointer to the center of character cell (X,Y) in FRAME.\n\ | |
170 WARNING: If you use this under X windows,\n\ | |
171 you should call `unfocus-frame' afterwards.") | |
172 (frame, x, y) | |
173 Lisp_Object frame, x, y; | |
174 { | |
175 mouse_moveto (XINT (x), XINT (y)); | |
176 return Qnil; | |
177 } | 166 } |
178 | 167 |
179 /* Function to translate colour names to integers. See lisp/term/pc-win.el | 168 /* Function to translate colour names to integers. See lisp/term/pc-win.el |
180 for its definition. */ | 169 for its definition. */ |
181 | 170 |
331 defsubr (&Smsdos_set_keyboard); | 320 defsubr (&Smsdos_set_keyboard); |
332 defsubr (&Sinsert_startup_screen); | 321 defsubr (&Sinsert_startup_screen); |
333 defsubr (&Smsdos_mouse_disable); | 322 defsubr (&Smsdos_mouse_disable); |
334 #ifndef HAVE_X_WINDOWS | 323 #ifndef HAVE_X_WINDOWS |
335 defsubr (&Smsdos_mouse_p); | 324 defsubr (&Smsdos_mouse_p); |
336 defsubr (&Sset_mouse_position); | |
337 | |
338 Qmsdos_color_translate = intern ("msdos-color-translate"); | 325 Qmsdos_color_translate = intern ("msdos-color-translate"); |
339 staticpro (&Qmsdos_color_translate); | 326 staticpro (&Qmsdos_color_translate); |
340 #endif | 327 #endif |
341 | 328 |
342 DEFVAR_INT ("dos-country-code", &dos_country_code, | 329 DEFVAR_INT ("dos-country-code", &dos_country_code, |