From 5b3dd5e8b830d9dd38a5d7a56e6e62dc67b7272e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 23 Nov 1994 04:46:14 +0000 Subject: [PATCH] (Calling menu-bar-enable-clipboard): Be less selective matching Suns. --- lisp/term/x-win.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index 4bc8abfdf9b..dbb32175c44 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el @@ -685,7 +685,8 @@ This is in addition to the primary selection.") 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)) -- 2.39.5