diff options
Diffstat (limited to 'src/misc1.c')
-rw-r--r-- | src/misc1.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/misc1.c b/src/misc1.c index ef7c10c5e..911ba4a21 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -2413,24 +2413,6 @@ pchar_cursor(c) + curwin->w_cursor.col) = c; } -#if 0 /* not used */ -/* - * Put *pos at end of current buffer - */ - void -goto_endofbuf(pos) - pos_T *pos; -{ - char_u *p; - - pos->lnum = curbuf->b_ml.ml_line_count; - pos->col = 0; - p = ml_get(pos->lnum); - while (*p++) - ++pos->col; -} -#endif - /* * When extra == 0: Return TRUE if the cursor is before or on the first * non-blank in the line. |