[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
patch for possible typo in complete -o default
From: |
Peder Stray |
Subject: |
patch for possible typo in complete -o default |
Date: |
25 Aug 2001 12:30:22 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
just playing around with the completion function, and looking through
the source. -o default didn't seem to do anything so I patched the
code... just wondering if this was deliberate or just a typo...
--- bash-2.05/bashline.c.default Thu Aug 23 00:24:48 2001
+++ bash-2.05/bashline.c Sat Aug 25 12:16:40 2001
@@ -903,8 +903,10 @@
external... */
matches = rl_completion_matches (text, prog_complete_return);
if ((foundcs & COPT_DEFAULT) == 0)
- rl_attempted_completion_over = 1; /* no default */
- return (matches);
+ {
+ rl_attempted_completion_over = 1; /* no default */
+ return (matches);
+ }
}
}
#endif
--
[ IRL: Peder Stray ]
[ "A new life awaits you in the off world colonies" ]
- patch for possible typo in complete -o default,
Peder Stray <=