]> git.eshelyaron.com Git - emacs.git/commit
Bring back xterm pasting with middle mouse
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 22 May 2016 20:38:53 +0000 (13:38 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 22 May 2016 20:39:30 +0000 (13:39 -0700)
commit869092c9ed373e97f92c7f7518396e3fbdb24dd8
treeec04c978bdb685b671184daf30ac3a166050ebe5
parent5ab083034ca221a7b4f00156a0efece84da999d8
Bring back xterm pasting with middle mouse

Problem reported by Jan Synáček.
Solution suggested by Stefan Monnier (Bug#23519).
* lisp/isearch.el (isearch-mode-map): Add a binding for xterm-paste.
(xterm--pasted-text): New decl.
(isearch-xterm-paste): New function.
* lisp/term/xterm.el (xterm--pasted-text): New function,
taken from xterm-paste internals.
(xterm-paste): Use it.
lisp/isearch.el
lisp/term/xterm.el