summaryrefslogtreecommitdiff
path: root/lisp/term/sun.el
diff options
context:
space:
mode:
authorKaroly Lorentey <lorentey@elte.hu>2005-05-03 01:38:40 +0000
committerKaroly Lorentey <lorentey@elte.hu>2005-05-03 01:38:40 +0000
commit941d4811d5b6660e2cdb5f668d52792c7e5920e8 (patch)
treefdc7828b0b482e4c21f41eb0fcc6ee95431d534f /lisp/term/sun.el
parent09a1444abb2494d0db3d71e4c942f5210786b619 (diff)
downloademacs-941d4811d5b6660e2cdb5f668d52792c7e5920e8.tar.gz
Fix exponential slowdowns on repeated tty frame creation.
* lisp/term/xterm.el: Protect extended function-key-map from being added to the real function-key-map each time the file is loaded. (xterm-function-map): New variable. * lisp/term/rxvt.el: Ditto. (rxvt-function-map): New variable. * lisp/term/lk201.el: Add note on buggy globalness of define-key. * lisp/term/iris-ansi.el: Ditto. * lisp/term/news.el: Ditto. * lisp/term/sun.el: Ditto. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-337
Diffstat (limited to 'lisp/term/sun.el')
-rw-r--r--lisp/term/sun.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/term/sun.el b/lisp/term/sun.el
index e0564d44ecb..2d4a71c1f5d 100644
--- a/lisp/term/sun.el
+++ b/lisp/term/sun.el
@@ -92,6 +92,8 @@
;; so we ignore them on the way down
;;
+;; XXX We need to find a way to have these define-keys be display-local. -- Lorentey
+
(defvar sun-raw-prefix (make-sparse-keymap))
(define-key function-key-map "\e[" sun-raw-prefix)