]> git.eshelyaron.com Git - emacs.git/commit
* lisp/term/xterm.el: Fix xterm-paste handling for rxvt
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 11 May 2015 21:23:36 +0000 (17:23 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 11 May 2015 21:23:36 +0000 (17:23 -0400)
commit0a21b26c58a241ac41cd12cd10cd605238bb2640
treef345cb572f52595d112764759efbe8a964d11e25
parent3c5cc185df0d4143883d9bef921c2e5ffb59586f
* lisp/term/xterm.el: Fix xterm-paste handling for rxvt

* lisp/term/rxvt.el: Require term/xterm.
(rxvt-function-map): Use xterm-rxvt-function-map.
(rxvt-standard-colors): Move before first use.
(terminal-init-rxvt): Use xterm--push-map and xterm-register-default-colors.
(rxvt-rgb-convert-to-16bit, rxvt-register-default-colors): Remove.

* lisp/term/xterm.el (xterm-rxvt-function-map): New var.
Move shared bindings between rxvt and xterm to it.
(xterm-function-map): Use it.  Move the xterm-paste binding to
xterm-rxvt-function-map (bug#20444).
(xterm-standard-colors): Move before first use.
(xterm--push-map): New function.
(xterm-register-default-colors): Take standard colors as argument.
(terminal-init-xterm): Use it.  Adjust call to
xterm-register-default-colors.
lisp/term/rxvt.el
lisp/term/xterm.el