summaryrefslogtreecommitdiff
path: root/lisp/term
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-11-23 04:46:14 +0000
committerRichard M. Stallman <rms@gnu.org>1994-11-23 04:46:14 +0000
commit5b3dd5e8b830d9dd38a5d7a56e6e62dc67b7272e (patch)
tree654f07ffde72a5198bb898292653e694bb56f1f3 /lisp/term
parent044f81f10fbe0c10bef52b025a0e5c7bc73b9a42 (diff)
downloademacs-5b3dd5e8b830d9dd38a5d7a56e6e62dc67b7272e.tar.gz
(Calling menu-bar-enable-clipboard): Be less selective matching Suns.
Diffstat (limited to 'lisp/term')
-rw-r--r--lisp/term/x-win.el3
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))