summaryrefslogtreecommitdiff
path: root/src/completions.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-05-28 22:36:27 +0000
committersabetts <sabetts>2003-05-28 22:36:27 +0000
commit99d6bf980b231670ef58d12e082cfd52e0513707 (patch)
treea9c2d6dbb1810084a42969039b54123816ec15eb /src/completions.h
parentc590e039dac7c9edd4074d8e52f7928e789b5078 (diff)
downloadratpoison-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/completions.h')
-rw-r--r--src/completions.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/completions.h b/src/completions.h
index a0a262c..807bc97 100644
--- a/src/completions.h
+++ b/src/completions.h
@@ -4,9 +4,7 @@
#ifndef _RATPOISON_COMPLETIONS_H
#define _RATPOISON_COMPLETIONS_H 1
-char *completions_next_completion (rp_completions *c, char *partial);
-void completions_update (rp_completions *c, char *partial);
-void completions_assign (rp_completions *c, struct list_head *new_list);
+char *completions_complete (rp_completions *c, char *partial, int direction);
rp_completions *completions_new (completion_fn list_fn);
void completions_free (rp_completions *c);