Mercurial > emacs
diff lisp/menu-bar.el @ 110037:314f04d4d276
Fix bug #6944.
menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
CLIPBOARD, not in PRIMARY.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Mon, 30 Aug 2010 21:11:34 +0300 |
parents | 280c8ae2476d |
children | 41bf9b6f3b91 |
line wrap: on
line diff
--- a/lisp/menu-bar.el Mon Aug 30 17:21:14 2010 +0200 +++ b/lisp/menu-bar.el Mon Aug 30 21:11:34 2010 +0300 @@ -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")))