diff options
author | sabetts <sabetts> | 2005-06-11 18:48:44 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2005-06-11 18:48:44 +0000 |
commit | 97d975e9a0c65808222f07272ed2b7d54e69f4fc (patch) | |
tree | 4e98fbfee034582621beadf1a02a9f84faf02f50 /src/globals.h | |
parent | d9a76c05c9184b61157e38dedf6bc389689de515 (diff) | |
download | ratpoison-97d975e9a0c65808222f07272ed2b7d54e69f4fc.zip |
* src/main.c (clean_up): call del_frame_undo not pop_frame_undo
* src/globals.h: new global prototype rp_frame_redos
* src/globals.c: new global rp_frame_redos
* src/actions.h: new command 'undo'
(del_frame_undo): new prototype
(pop_frame_undo): delete prototype
* src/actions.c (init_user_commands): new command 'undo'
(clear_frame_redos): new function
(del_frame_undo): likewise
(push_frame_undo): call del_frame_undo instead of pop_frame_undo. call clear_frame_redos.
(pop_frame_list): new function
(pop_frame_undo): returns the popped frame. all callers updated.
(pop_frame_redo): new function
(initialize_default_keybindings): bind undo to u and C-u, bind redo to U.
(set_maxundos): call del_frame_undo instead of pop_frame_redo
(cmd_redo): new function
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h index f6d43a8..bb1ef7e 100644 --- a/src/globals.h +++ b/src/globals.h @@ -157,6 +157,7 @@ extern int xine_screen_count; extern struct numset *rp_frame_numset; extern struct list_head rp_frame_undos; +extern struct list_head rp_frame_redos; extern int rp_num_frame_undos; /* Selection handling globals */ |