Mercurial > emacs
diff README.multi-tty @ 83361:39de99cd3f08
Prevent resource allocation explosion when C-x 5 2 is used on xterms.
* lisp/term/xterm.el (terminal-init-xterm): Protect function-key-map
against multiple invocations on the same terminal.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-401
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Wed, 07 Sep 2005 23:17:07 +0000 |
parents | 8f0c7632f259 |
children | c3dd82172ed1 |
line wrap: on
line diff
--- a/README.multi-tty Wed Sep 07 23:11:21 2005 +0000 +++ b/README.multi-tty Wed Sep 07 23:17:07 2005 +0000 @@ -386,6 +386,11 @@ THINGS TO DO ------------ +** Go through lisp/term/*.el once more and protect terminal-local + initializations with '(when (eq 1 (length (frames-on-display-list)))' + as in xterm.el. This is to prevent resource allocation explosions + when C-x 5 2 is used repeatedly. + ** Dan Nicolaescu writes: > The terminal initialization code still has some issues. > This can be seen when using emacsclient -t on a 256 color xterm. The