summaryrefslogtreecommitdiff
path: root/lisp/menu-bar.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2010-08-30 21:11:34 +0300
committerEli Zaretskii <eliz@gnu.org>2010-08-30 21:11:34 +0300
commit42b6a73bc70429b7997fa18986a72341f98840f8 (patch)
treeb9bdd6c1f2ab4697f4379c381f350b410fee0ff2 /lisp/menu-bar.el
parentee992a8cede0a4f2fca21b882772a2cc940dc2ff (diff)
downloademacs-42b6a73bc70429b7997fa18986a72341f98840f8.tar.gz
Fix bug #6944.
menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in CLIPBOARD, not in PRIMARY.
Diffstat (limited to 'lisp/menu-bar.el')
-rw-r--r--lisp/menu-bar.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 64c39f644a7..6149fea4769 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -463,7 +463,7 @@
;; Emacs compiled --without-x doesn't have
;; x-selection-exists-p.
(and (fboundp 'x-selection-exists-p)
- (x-selection-exists-p))
+ (x-selection-exists-p 'CLIPBOARD))
kill-ring)
(not buffer-read-only))
:help ,(purecopy "Paste (yank) text most recently cut/copied")))