Mercurial > emacs
comparison src/macterm.c @ 83417:fe870a866ce7
Don't let x_initialize break 8-bit input on ttys. (Reported by Joakim Verona.) Split `set-input-mode'.
* lisp/international/encoded-kb.el (encoded-kbd-setup-display): Use `set-input-meta-mode'.
* lisp/linux.el (terminal-init-linux): Ditto.
* src/keyboard.c (Fset_input_interrupt_mode, Fset_output_flow_control)
(syms_of_keyboard): Defsubr them.
(Fset_input_meta_mode, Fset_quit_char): New functions.
(Fset_input_mode): Split to above functions.
* lisp.h: EXFUN the new functions.
* xterm.c (x_initialize): Use Fset_input_interrupt_mode.
* macterm.c (mac_initialize): Ditto.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-457
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Fri, 23 Dec 2005 03:00:55 +0000 |
parents | 39bb10ce301a |
children | b64b7e867d0a |
comparison
equal
deleted
inserted
replaced
83416:4513d8dcdfd5 | 83417:fe870a866ce7 |
---|---|
10628 | 10628 |
10629 last_tool_bar_item = -1; | 10629 last_tool_bar_item = -1; |
10630 any_help_event_p = 0; | 10630 any_help_event_p = 0; |
10631 | 10631 |
10632 /* Try to use interrupt input; if we can't, then start polling. */ | 10632 /* Try to use interrupt input; if we can't, then start polling. */ |
10633 Fset_input_mode (Qt, Qnil, Qt, Qnil); | 10633 Fset_input_interrupt_mode (Qt); |
10634 | 10634 |
10635 BLOCK_INPUT; | 10635 BLOCK_INPUT; |
10636 | 10636 |
10637 #if TARGET_API_MAC_CARBON | 10637 #if TARGET_API_MAC_CARBON |
10638 | 10638 |