diff options
author | sabetts <sabetts> | 2003-05-28 22:36:27 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2003-05-28 22:36:27 +0000 |
commit | 99d6bf980b231670ef58d12e082cfd52e0513707 (patch) | |
tree | a9c2d6dbb1810084a42969039b54123816ec15eb /src/globals.h | |
parent | c590e039dac7c9edd4074d8e52f7928e789b5078 (diff) | |
download | ratpoison-99d6bf980b231670ef58d12e082cfd52e0513707.zip |
* src/globals.h (COMPLETION_NEXT): new define
(COMPLETION_PREVIOUS): likewise
* src/editor.c (editor_complete): remove prototype
(editor_complete_prev): new prototype
(editor_complete_next): likewise
(editor_insert): make it a static function. update prototype
(edit_bindings): add editor_complete_prev. replace editor_complete
with editor_complete_next.
(editor_complete): call completions_complete
(editor_complete_next): new function
(editor_complete_prev): likewise
* src/completions.h (completions_next_completion): remove prototype
(completions_update): likewise
(completions_assign): likewise
(completions_complete): new prototype
* src/completions.c (completions_assign): make it a static
function
(completions_update): likewise
(completions_prev_match): new function
(completions_next_match): likewise
(completions_complete): renamed from
completions_next_completion. call completions_next_match and
completions_prev_match.
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h index 57b6df3..cca5f27 100644 --- a/src/globals.h +++ b/src/globals.h @@ -41,6 +41,10 @@ #define WIN_NAME_RES_CLASS 1 #define WIN_NAME_RES_NAME 2 +/* Possible directions to traverse the completions list. */ +#define COMPLETION_NEXT 0 +#define COMPLETION_PREVIOUS 1 + /* The list of groups. */ extern struct list_head rp_groups; |