diff options
author | Thomas Wienecke <wienecke.t@gmail.com> | 2014-04-10 19:34:35 +0200 |
---|---|---|
committer | Thomas Wienecke <wienecke.t@gmail.com> | 2014-05-03 17:41:06 +0200 |
commit | 75d8b240600d4691d6025dcc102c607b16d57a37 (patch) | |
tree | 0dfd9940bc6b9ee15b97312267ab25253cfecf3c | |
parent | 487a66029c2143ac199b104a74d1273add52ba19 (diff) | |
download | rneovim-75d8b240600d4691d6025dcc102c607b16d57a37.tar.gz rneovim-75d8b240600d4691d6025dcc102c607b16d57a37.tar.bz2 rneovim-75d8b240600d4691d6025dcc102c607b16d57a37.zip |
Remove unused function cmdline_at_end.
-rw-r--r-- | src/ex_getln.c | 8 | ||||
-rw-r--r-- | src/ex_getln.h | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index 5f2dec6312..deb124dbc5 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -1979,14 +1979,6 @@ redraw: } /* - * Return TRUE if the cursor is at the end of the cmdline. - */ -int cmdline_at_end(void) -{ - return ccline.cmdpos >= ccline.cmdlen; -} - -/* * Allocate a new command line buffer. * Assigns the new buffer to ccline.cmdbuff and ccline.cmdbufflen. * Returns the new value of ccline.cmdbuff and ccline.cmdbufflen. diff --git a/src/ex_getln.h b/src/ex_getln.h index d9b321d658..32980783b2 100644 --- a/src/ex_getln.h +++ b/src/ex_getln.h @@ -11,7 +11,6 @@ int curbuf_locked(void); int allbuf_locked(void); char_u *getexline(int c, void *cookie, int indent); char_u *getexmodeline(int promptc, void *cookie, int indent); -int cmdline_at_end(void); void free_cmdline_buf(void); void putcmdline(int c, int shift); void unputcmdline(void); |