diff options
| author | Jim Blandy <jimb@redhat.com> | 1992-02-11 22:24:31 +0000 |
|---|---|---|
| committer | Jim Blandy <jimb@redhat.com> | 1992-02-11 22:24:31 +0000 |
| commit | a764a7537b6af4a7248c88de5e8356be7631c1be (patch) | |
| tree | 9c6fc9fc51e4b80f1660ac03564d17f1d8a0e9f0 | |
| parent | 7a04feb0741206e4a1c3e01840bd5557d5c84af9 (diff) | |
| download | emacs-a764a7537b6af4a7248c88de5e8356be7631c1be.tar.gz | |
*** empty log message ***
| -rw-r--r-- | src/keyboard.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 680654baf54..8bfc80a25f4 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -949,8 +949,6 @@ command_loop_1 () || (dp && (XTYPE (dp->contents[lose]) != Lisp_String || XSTRING (dp->contents[lose])->size == sizeof (GLYPH)))) - && (SCREEN_CURSOR_X (selected_screen) - != SCREEN_WIDTH (selected_screen) - 1) && (XFASTINT (XWINDOW (selected_window)->last_modified) >= MODIFF) && (XFASTINT (XWINDOW (selected_window)->last_point) @@ -972,7 +970,6 @@ command_loop_1 () || (dp && (XTYPE (dp->contents[lose]) != Lisp_String || XSTRING (dp->contents[lose])->size == sizeof (GLYPH)))) - && (SCREEN_CURSOR_X (selected_screen) != 0) && (XFASTINT (XWINDOW (selected_window)->last_modified) >= MODIFF) && (XFASTINT (XWINDOW (selected_window)->last_point) @@ -1038,8 +1035,8 @@ command_loop_1 () Fundo_boundary (); Fcommand_execute (cmd, Qnil); - directly_done: ; } + directly_done: ; /* If there is a prefix argument, 1) We don't want last_command to be ``universal-argument'' @@ -2734,10 +2731,10 @@ read_key_sequence (keybuf, bufsize, prompt) { fkey_next = get_keyelt (access_keymap (fkey_map, keybuf[fkey_end++])); - /* If keybuf[fkey_start..fkey_next] is bound in the - function key map and it's a suffix, replace it with - the binding and restart. */ + function key map and it's a suffix of the current + sequence (i.e. fkey_next == t), replace it with + the binding and restart with fkey_start at the end. */ if (XTYPE (fkey_next) == Lisp_Vector && fkey_end == t) { @@ -2761,9 +2758,8 @@ read_key_sequence (keybuf, bufsize, prompt) fkey_map = get_keymap_1 (fkey_next, 0); - /* If we no longer have a bound suffix, advance - the start of the function key suffix and continue - scanning from there. */ + /* If we no longer have a bound suffix, try a new positions for + fkey_start. */ if (NILP (fkey_map)) { fkey_end = ++fkey_start; |
