summaryrefslogtreecommitdiffstats
path: root/Src/Zle/zle_keymap.c
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2017-06-01 14:47:45 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2017-06-01 14:47:45 -0700
commit3ba5e6b909f3dbba6ae4bedb7f1a09ecfdead4eb (patch)
treecb0094fa05699b57e45afc46239d5c93a5a820f2 /Src/Zle/zle_keymap.c
parentSpecial-case typeset -c / -C because of PM_* renumbering (diff)
parent41191: Check for immortal thingies when checking for specific thingies (diff)
downloadzsh-schaefer/badarrays.tar
zsh-schaefer/badarrays.tar.gz
zsh-schaefer/badarrays.tar.bz2
zsh-schaefer/badarrays.tar.lz
zsh-schaefer/badarrays.tar.xz
zsh-schaefer/badarrays.tar.zst
zsh-schaefer/badarrays.zip
Merge branch 'master' into schaefer/badarraysschaefer/badarrays
Diffstat (limited to 'Src/Zle/zle_keymap.c')
-rw-r--r--Src/Zle/zle_keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_keymap.c b/Src/Zle/zle_keymap.c
index 04eb70675..2e96ac780 100644
--- a/Src/Zle/zle_keymap.c
+++ b/Src/Zle/zle_keymap.c
@@ -961,7 +961,7 @@ bin_bindkey_meta(char *name, char *kmname, Keymap km, UNUSED(char **argv), UNUSE
m[0] = i;
metafy(m, 1, META_NOALLOC);
fn = keybind(km, m, &str);
- if(fn == t_selfinsert || fn == t_undefinedkey)
+ if(IS_THINGY(fn, selfinsert) || fn == t_undefinedkey)
bindkey(km, m, refthingy(Th(metabind[i - 128])), NULL);
}
return 0;