aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorKaroly Lorentey2004-01-25 00:43:38 +0000
committerKaroly Lorentey2004-01-25 00:43:38 +0000
commitda8e11156a5a22f6e4cdab41b4b797aaee10bd6e (patch)
tree7ad1f34e2cbfaa55e45d1ccf27f1849cda728e30 /src/keyboard.c
parent3bbdbec9f2dd03d81d700941e5dd40da0ec3e632 (diff)
downloademacs-da8e11156a5a22f6e4cdab41b4b797aaee10bd6e.tar.gz
emacs-da8e11156a5a22f6e4cdab41b4b797aaee10bd6e.zip
Removed %T in mode-line-format. Trivial documentation changes.
lisp/bindings.el (mode-line-buffer-identification): Use the conditional formatting feature instead of builtin support. src/buffer.c (Vmode_line_format): Removed %T documentation. src/xdisp.c (decode_mode_spec): Removed %T processing. lib-src/emacsclient.c (pass_signal_to_emacs, init_signals): Added comment. src/cm.c: Cosmetic changes. src/termchar.h: Ditto. src/keyboard.c (interrupt_signal, handle_interrupt): Updated documentation. src/process.c (add_keyboard_wait_descriptor): Added docs. src/sysdep.c (init_all_sys_modes, init_sys_modes) (reset_all_sys_modes): Added docs. src/term.c (tty_ring_bell, tty_set_terminal_modes) (tty_reset_terminal_modes, tty_update_end, set_terminal_window) (tty_set_terminal_window, clear_to_end, tty_clear_to_end) (tty_clear_frame, tty_clear_end_of_line, write_glyphs) (tty_write_glyphs, insert_glyphs, tty_insert_glyphs, delete_glyphs) (tty_delete_glyphs, tty_ins_del_lines, get_named_tty_display) (init_initial_display, delete_tty): Added docs. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-65
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c30
1 files changed, 14 insertions, 16 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index dae54ad8a79..b6f1dfa071f 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -10231,20 +10231,11 @@ clear_waiting_for_input ()
10231 input_available_clear_time = 0; 10231 input_available_clear_time = 0;
10232} 10232}
10233 10233
10234/* This routine is called at interrupt level in response to C-g. 10234/* The SIGINT handler.
10235
10236 If interrupt_input, this is the handler for SIGINT. Otherwise, it
10237 is called from kbd_buffer_store_event, in handling SIGIO or
10238 SIGTINT.
10239
10240 If `waiting_for_input' is non zero, then unless `echoing' is
10241 nonzero, immediately throw back to read_char.
10242
10243 Otherwise it sets the Lisp variable quit-flag not-nil. This causes
10244 eval to throw, when it gets a chance. If quit-flag is already
10245 non-nil, it stops the job right away.
10246 10235
10247 XXX This comment needs to be updated. */ 10236 If we have a frame on the controlling tty, the SIGINT was generated
10237 by C-g, so we call handle_interrupt. Otherwise, the handler kills
10238 Emacs. */
10248 10239
10249static SIGTYPE 10240static SIGTYPE
10250interrupt_signal (signalnum) /* If we don't have an argument, */ 10241interrupt_signal (signalnum) /* If we don't have an argument, */
@@ -10280,15 +10271,22 @@ interrupt_signal (signalnum) /* If we don't have an argument, */
10280 internal_last_event_frame = display->display_info.tty->top_frame; 10271 internal_last_event_frame = display->display_info.tty->top_frame;
10281 10272
10282 handle_interrupt (); 10273 handle_interrupt ();
10283
10284 } 10274 }
10285 10275
10286 errno = old_errno; 10276 errno = old_errno;
10287} 10277}
10288 10278
10289/* C-g processing, signal independent code. 10279/* This routine is called at interrupt level in response to C-g.
10280
10281 It is called from the SIGINT handler or kbd_buffer_store_event.
10282
10283 If `waiting_for_input' is non zero, then unless `echoing' is
10284 nonzero, immediately throw back to read_char.
10285
10286 Otherwise it sets the Lisp variable quit-flag not-nil. This causes
10287 eval to throw, when it gets a chance. If quit-flag is already
10288 non-nil, it stops the job right away. */
10290 10289
10291 XXX Expand this comment. */
10292static void 10290static void
10293handle_interrupt () 10291handle_interrupt ()
10294{ 10292{