]> git.eshelyaron.com Git - emacs.git/commitdiff
ns-win.el (ns-paste-secondary): Use gui-get-selection.
authorJan D <jan.h.d@swipnet.se>
Thu, 7 May 2015 17:48:19 +0000 (19:48 +0200)
committerJan D <jan.h.d@swipnet.se>
Thu, 7 May 2015 17:48:19 +0000 (19:48 +0200)
* ns-win.el (ns-paste-secondary): Use gui-get-selection.

lisp/term/ns-win.el

index a87352e7bae650dacac82d05c73dd9207b0dcf4b..e642ab53447b769cc0e3adcee5c0023519829d4c 100644 (file)
@@ -728,7 +728,7 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.")
 
 (defun ns-paste-secondary ()
   (interactive)
-  (insert (ns-get-selection-internal 'SECONDARY)))
+  (insert (gui-get-selection 'SECONDARY)))
 
 
 ;;;; Scrollbar handling.