mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-13 13:03:03 +00:00
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.
This commit is contained in:
parent
6f183a1e82
commit
e048e04bd8
@ -551,7 +551,8 @@ from being executed if in multiple-cursors-mode."
|
|||||||
(unsupported-cmd isearch-backward ". Feel free to add a compatible version.")
|
(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
|
;; 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)
|
(let ((interprogram-paste (and (= n 0)
|
||||||
interprogram-paste-function
|
interprogram-paste-function
|
||||||
(funcall interprogram-paste-function))))
|
(funcall interprogram-paste-function))))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user