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
commit218f26017703737677c825cf16163763892dd959 (patch)
treec200e43c1ac30e71e6dfb8b915b0b653db9a9657 /contrib/libreadline/bind.c
parent6a101e69157073d4539484b3633d84c04d35a0dc (diff)
parent001407b3a64c7fac1489a2ad6eeb2d23254b3e19 (diff)
downloadFreeBSD-src-218f26017703737677c825cf16163763892dd959.zip
FreeBSD-src-218f26017703737677c825cf16163763892dd959.tar.gz
This commit was generated by cvs2svn to compensate for changes in r125759,
which included commits to RCS files with non-trunk default branches.
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