Skip to content

Commit

Permalink
Bugfix for pasting on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
xukai92 authored and tecosaur committed Apr 16, 2021
1 parent 5475e1a commit d65ba8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emacs-everywhere.el
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ Never paste content when ABORT is non-nil."
(not abort))
(if (eq system-type 'darwin)
(call-process "osascript" nil nil nil
"-e" "tell application \"System Events\" to keystroke (the clipboard as text)")
"-e" "tell application \"System Events\" to keystroke \"v\" using command down")
(call-process "xdotool" nil nil nil
"key" "--clearmodifiers" "Shift+Insert"))))
;; Clean up after ourselves in case the buffer survives `server-buffer-done'
Expand Down

0 comments on commit d65ba8d

Please sign in to comment.