(clipboard-yank): bomb out in interactive use if
[bpt/emacs.git] / lisp / menu-bar.el
index cc1351b..9a89aa4 100644 (file)
@@ -510,7 +510,7 @@ A large number or nil slows down menu responsiveness."
 
 (defun clipboard-yank ()
   "Insert the clipboard contents, or the last stretch of killed text."
-  (interactive)
+  (interactive "*")
   (let ((x-select-enable-clipboard t))
     (yank)))