Fix splash screen loosing input events on Emacsclient frames.

* lisp/startup.el (fancy-splash-screens): Use `overriding-local-map'
  instead of `overriding-terminal-local-map' for now; the latter doesn't
  work right, it looses keypresses to another terminal.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-478
This commit is contained in:
Karoly Lorentey 2005-12-30 06:15:47 +00:00
parent 526039df1c
commit d290c55440
2 changed files with 7 additions and 1 deletions

View file

@ -401,6 +401,12 @@ is probably not very interesting for anyone else.)
THINGS TO DO
------------
** Let-binding `overriding-terminal-local-map' on a brand new frame
does not seem to work correctly. (See `fancy-splash-screens'.)
The keymap seems to be set up right, but events go to another
terminal. Or is it `unread-command-events' that gets Emacs
confused? Investigate.
** `delete-frame' events are handled by `special-event-map'
immediately when read by `read_char'. This is fine but it prevents
higher-level keymaps from binding that event to get notified of the

View file

@ -1334,7 +1334,7 @@ mouse."
(catch 'stop-splashing
(unwind-protect
(let* ((map (make-sparse-keymap))
(overriding-terminal-local-map map)
(overriding-local-map map)
;; Catch if our frame is deleted; the delete-frame
;; event is unreliable and is handled by
;; `special-event-map' anyway.