diff lisp/frame.el @ 2509:6a9afa282c8e

[xemacs-hg @ 2005-01-26 09:53:28 by ben] fix warnings frame.el: Fix warning. cl.el: Conditionalize on coerce-number as Jerry says it's OK. fakemail.c: Add args to fix warning.
author ben
date Wed, 26 Jan 2005 09:53:32 +0000
parents ecf1ebac70d8
children 491f8cf78a9c
line wrap: on
line diff
--- a/lisp/frame.el	Wed Jan 26 09:51:23 2005 +0000
+++ b/lisp/frame.el	Wed Jan 26 09:53:32 2005 +0000
@@ -1186,7 +1186,7 @@
   (case (framep-on-display display)
     ;; We assume X, NeXTstep, and GTK *always* have a pointing device
     ((x ns gtk) t)
-    (mswindows (> mswindows-num-mouse-buttons 0))
+    (mswindows (> (declare-boundp mswindows-num-mouse-buttons) 0))
     (tty
      (and-fboundp 'gpm-is-supported-p
        (gpm-is-supported-p (display-device display))))