diff options
Diffstat (limited to 'lisp/term/x-win.el')
-rw-r--r-- | lisp/term/x-win.el | 3 |
1 files changed, 2 insertions, 1 deletions
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)) |