diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-04-15 02:40:11 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-04-15 02:40:11 +0200 |
commit | 92ca2df2858fc852fa13e0463c1593fa8269a037 (patch) | |
tree | 574ef42dbb698ab4f9001f185075fc571bceee34 /degesch.c | |
parent | 0114d57a0c409fa80dc497ea9b6e59db969b4ec2 (diff) | |
download | xK-92ca2df2858fc852fa13e0463c1593fa8269a037.tar.gz xK-92ca2df2858fc852fa13e0463c1593fa8269a037.tar.xz xK-92ca2df2858fc852fa13e0463c1593fa8269a037.zip |
degesch: fix Travis CI build
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -872,7 +872,12 @@ buffer_activate (struct app_context *ctx, struct buffer *buffer) } else // Just throw it away; there should always be an active buffer however +#if RL_READLINE_VERSION >= 0x0603 rl_clear_history (); +#else // RL_READLINE_VERSION < 0x0603 + // At least something... this may leak undo entries + clear_history (); +#endif // RL_READLINE_VERSION < 0x0603 // Now at last we can switch the pointers ctx->current_buffer = buffer; |