summaryrefslogtreecommitdiffstats
path: root/contrib/libreadline/bind.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2004-02-13 01:08:19 +0000
committerache <ache@FreeBSD.org>2004-02-13 01:08:19 +0000
commit001407b3a64c7fac1489a2ad6eeb2d23254b3e19 (patch)
tree91f76b20ebe6f6fe0a65ee1a6dc570943c5d9012 /contrib/libreadline/bind.c
parentab304301db89e3906744fb6a81655b9598764582 (diff)
downloadFreeBSD-src-001407b3a64c7fac1489a2ad6eeb2d23254b3e19.zip
FreeBSD-src-001407b3a64c7fac1489a2ad6eeb2d23254b3e19.tar.gz
Official patches 001-005
Diffstat (limited to 'contrib/libreadline/bind.c')
-rw-r--r--contrib/libreadline/bind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libreadline/bind.c b/contrib/libreadline/bind.c
index 65ef401..7103888 100644
--- a/contrib/libreadline/bind.c
+++ b/contrib/libreadline/bind.c
@@ -311,7 +311,7 @@ rl_generic_bind (type, keyseq, data, map)
mapped to something, `abc' to be mapped to something else,
and the function bound to `a' to be executed when the user
types `abx', leaving `bx' in the input queue. */
- if (k.function /* && k.type == ISFUNC */)
+ if (k.function && ((k.type == ISFUNC && k.function != rl_do_lowercase_version) || k.type == ISMACR))
{
map[ANYOTHERKEY] = k;
k.function = 0;
OpenPOWER on IntegriCloud