From: Karl Heuer Date: Wed, 15 Mar 1995 21:55:37 +0000 (+0000) Subject: (Fmouse_position): Do work only if HAVE_MOUSE. X-Git-Tag: emacs-19.34~4833 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f443c1706ed2107a9801614af9de833fdaa28cac;p=emacs.git (Fmouse_position): Do work only if HAVE_MOUSE. --- diff --git a/src/frame.c b/src/frame.c index 3dc70c4d30c..f0e146cd361 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1055,6 +1055,7 @@ and nil for X and Y.") f = selected_frame; x = y = Qnil; +#ifdef HAVE_MOUSE /* It's okay for the hook to refrain from storing anything. */ if (mouse_position_hook) (*mouse_position_hook) (&f, @@ -1069,6 +1070,7 @@ and nil for X and Y.") XSETINT (x, col); XSETINT (y, row); } +#endif XSETFRAME (lispy_dummy, f); return Fcons (lispy_dummy, Fcons (x, y)); }