• Stefan Monnier's avatar
    * lisp/term/xterm.el: Fix xterm-paste handling for rxvt · 0a21b26c
    Stefan Monnier authored
    * 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.
    0a21b26c
xterm.el 35.6 KB