diff options
| author | Geoff Rehmet <csgr@FreeBSD.org> | 1994-09-09 19:07:43 +0000 |
|---|---|---|
| committer | Geoff Rehmet <csgr@FreeBSD.org> | 1994-09-09 19:07:43 +0000 |
| commit | 965f1815ba0957105ded46844e870131a9cfc701 (patch) | |
| tree | be560bdbbe924ab4d9ad8008f442e2b5e0457a9c /lib/libedit/emacs.c | |
| parent | b74d92f39a41e60f5b0da961cd028459934216ed (diff) | |
Notes
Diffstat (limited to 'lib/libedit/emacs.c')
| -rw-r--r-- | lib/libedit/emacs.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/libedit/emacs.c b/lib/libedit/emacs.c index f960a544a434..273de1079f7b 100644 --- a/lib/libedit/emacs.c +++ b/lib/libedit/emacs.c @@ -55,20 +55,16 @@ em_delete_or_list(el, c) int c; { if (el->el_line.cursor == el->el_line.lastchar) { /* if I'm at the end */ -#ifdef notyet if (el->el_line.cursor == el->el_line.buffer) { /* and the beginning */ -#endif term_overwrite(el, STReof, 4);/* then do a EOF */ term__flush(); return CC_EOF; -#ifdef notyet } else { - re_goto_bottom(el); - *el->el_line.lastchar = '\0'; /* just in case */ - return CC_LIST_CHOICES; + /* Here we could list completions, but it is an error right now */ + term_beep(el); + return CC_ERROR; } -#endif } else { c_delafter(el, el->el_state.argument); /* delete after dot */ |
