# HG changeset patch # User Richard M. Stallman # Date 1093193673 0 # Node ID 88d59be47588e7be5661bd98075930839f63d602 # Parent 7a0ad15724f63590cf4afd6f6bb9c035bedc70ea (display-mouse-p, display-selections-p): Use with-no-warnings. diff -r 7a0ad15724f6 -r 88d59be47588 lisp/frame.el --- a/lisp/frame.el Sun Aug 22 16:53:44 2004 +0000 +++ b/lisp/frame.el Sun Aug 22 16:54:33 2004 +0000 @@ -987,7 +987,8 @@ ((eq frame-type 'pc) (msdos-mouse-p)) ((eq system-type 'windows-nt) - (> w32-num-mouse-buttons 0)) + (with-no-warnings + (> w32-num-mouse-buttons 0))) ((memq frame-type '(x mac)) t) ;; We assume X and Mac *always* have a pointing device (t @@ -1040,7 +1041,8 @@ ((eq frame-type 'pc) ;; MS-DOG frames support selections when Emacs runs inside ;; the Windows' DOS Box. - (not (null dos-windows-version))) + (with-no-warnings + (not (null dos-windows-version)))) ((memq frame-type '(x w32 mac)) t) ;; FIXME? (t