changeset 110150:f7b8afaa7eb0

* simple.el (kill-new): Call interprogram-cut-function with only one argument.
author Jan D <jan.h.d@swipnet.se>
date Thu, 02 Sep 2010 12:54:43 +0200
parents 4ac2b883320e
children 728c823c045f
files lisp/ChangeLog lisp/simple.el
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Sep 02 12:20:20 2010 +0200
+++ b/lisp/ChangeLog	Thu Sep 02 12:54:43 2010 +0200
@@ -1,5 +1,8 @@
 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
 
+	* simple.el (kill-new): Call interprogram-cut-function with only
+	one argument.
+
 	* term.el (term-mouse-paste): Don't call x-get-cutbuffer.
 	Remove cut buffer from error message.
 
--- a/lisp/simple.el	Thu Sep 02 12:20:20 2010 +0200
+++ b/lisp/simple.el	Thu Sep 02 12:54:43 2010 +0200
@@ -3047,7 +3047,7 @@
 	  (setcdr (nthcdr (1- kill-ring-max) kill-ring) nil))))
   (setq kill-ring-yank-pointer kill-ring)
   (if interprogram-cut-function
-      (funcall interprogram-cut-function string (not replace))))
+      (funcall interprogram-cut-function string)))
 
 (defun kill-append (string before-p &optional yank-handler)
   "Append STRING to the end of the latest kill in the kill ring.