# HG changeset patch # User Richard M. Stallman # Date 785565974 0 # Node ID 920dae6ba3312a4125629a5dded8f9c401f40004 # Parent cb713218845a9b1a1f0d28eddf69d7b5652b0d4b (Calling menu-bar-enable-clipboard): Be less selective matching Suns. diff -r cb713218845a -r 920dae6ba331 lisp/term/x-win.el --- a/lisp/term/x-win.el Tue Nov 22 23:33:01 1994 +0000 +++ b/lisp/term/x-win.el Wed Nov 23 04:46:14 1994 +0000 @@ -685,7 +685,8 @@ x-cut-buffer-max)) ;; Sun expects the menu bar cut and paste commands to use the clipboard. -(if (string-match "X11/NeWS - Sun Microsystems Inc\\." +;; This has ,? to match both on Sunos and on Solaris. +(if (string-match " Sun Microsystems,? Inc\\." (x-server-vendor)) (menu-bar-enable-clipboard))