]> git.eshelyaron.com Git - emacs.git/commitdiff
(kill-new): Compute 2nd arg to interprogram-cut-function based on REPLACE.
authorRichard M. Stallman <rms@gnu.org>
Wed, 30 Aug 1995 19:33:08 +0000 (19:33 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 30 Aug 1995 19:33:08 +0000 (19:33 +0000)
lisp/simple.el

index ea27a5bf460c89f6c68a43c6920f2b7c3ffa675c..68a5005e54aa427b278e849943f78eca9a9f92a5 100644 (file)
@@ -1131,7 +1131,7 @@ the front of the kill ring, rather than being added to the list."
        (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 t)))
+      (funcall interprogram-cut-function string (not replace))))
 
 (defun kill-append (string before-p)
   "Append STRING to the end of the latest kill in the kill ring.