Browse files

Fix #271: The command yank can't work

It seems that this may be a windows specific issue given the version
strings that @moyotar and @dertuxmalwieder have posted. As a
workaround it should be safe to add the arguments that current-kill
needs to the defadvice. current-kill has had the same arguments for
the past 25 years, since it was first added.
  • Loading branch information...
jtamagnan committed Aug 31, 2017
1 parent 6f183a1 commit e048e04bd8a637095bac9291c72606300de8f74a
Showing with 2 additions and 1 deletion.
  1. +2 −1 multiple-cursors-core.el
@@ -551,7 +551,8 @@ from being executed if in multiple-cursors-mode."
(unsupported-cmd isearch-backward ". Feel free to add a compatible version.")
;; Make sure pastes from other programs are added to all kill-rings when yanking
(defadvice current-kill (before interprogram-paste-for-all-cursors activate)
(defadvice current-kill (before interprogram-paste-for-all-cursors
(n &optional do-not-move) activate)
(let ((interprogram-paste (and (= n 0)
(funcall interprogram-paste-function))))

0 comments on commit e048e04

Please sign in to comment.