summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2010-06-02 22:19:03 +0200
committerAndy Wingo <wingo@pobox.com>2010-06-02 22:19:40 +0200
commit4255e79fdab050064a9fbdf6ca88af41b23a8fdf (patch)
tree80c8be4948faf26d769d1491edfa24c859ca54d1
parent22cf27c815b756cac6893b5b239898767e6cb498 (diff)
downloadguile-4255e79fdab050064a9fbdf6ca88af41b23a8fdf.tar.gz
fix argument tab-completion
* guile-readline/readline.c (scm_init_readline): Space is a word-breaking char too. Fixes tab-completion for args; thanks to Jao for the patch!
-rw-r--r--guile-readline/readline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/guile-readline/readline.c b/guile-readline/readline.c
index 2d3617d8d..13e786324 100644
--- a/guile-readline/readline.c
+++ b/guile-readline/readline.c
@@ -1,6 +1,6 @@
/* readline.c --- line editing support for Guile */
-/* Copyright (C) 1997,1999,2000,2001, 2002, 2003, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 1997,1999,2000,2001, 2002, 2003, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -554,7 +554,7 @@ scm_init_readline ()
#else
rl_completion_entry_function = (Function*) completion_function;
#endif
- rl_basic_word_break_characters = "\t\n\"'`;()";
+ rl_basic_word_break_characters = " \t\n\"'`;()";
rl_readline_name = "Guile";
reentry_barrier_mutex = scm_make_mutex ();