From 4255e79fdab050064a9fbdf6ca88af41b23a8fdf Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Wed, 2 Jun 2010 22:19:03 +0200 Subject: 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! --- guile-readline/readline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'guile-readline') 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 (); -- cgit v1.2.3