HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cdd0c9
)
If server is a Sun, call menu-bar-enable-clipboard.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 10 Apr 1994 08:56:50 +0000
(08:56 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 10 Apr 1994 08:56:50 +0000
(08:56 +0000)
lisp/term/x-win.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/term/x-win.el
b/lisp/term/x-win.el
index
e60759e
..
e300d79
100644
(file)
--- a/
lisp/term/x-win.el
+++ b/
lisp/term/x-win.el
@@
-619,6
+619,11
@@
This is in addition to the primary selection.")
(setq x-cut-buffer-max (min (- (/ (x-server-max-request-size) 2) 100)
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\\."
+ (x-server-vendor))
+ (menu-bar-enable-clipboard))
+
;; Apply a geometry resource to the initial frame. Put it at the end
;; of the alist, so that anything specified on the command line takes
;; precedence.