diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2015-09-12 16:13:01 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2015-09-12 16:13:01 -0700 |
commit | 8e77fcb050ed09042cc2464f804ac023c0f88b42 (patch) | |
tree | d6215495fdbae83c181adda6b6bb7b2661dbfe16 /Src/Zle | |
parent | 6ff0628182ac74bbf22dc02edcc9a148f12767db (diff) | |
download | zsh-8e77fcb050ed09042cc2464f804ac023c0f88b42.tar.gz zsh-8e77fcb050ed09042cc2464f804ac023c0f88b42.tar.xz zsh-8e77fcb050ed09042cc2464f804ac023c0f88b42.zip |
36522: unmetafy the argument of "zle -U"
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/zle_thingy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_thingy.c b/Src/Zle/zle_thingy.c index 7fd3a5941..da3a6d458 100644 --- a/Src/Zle/zle_thingy.c +++ b/Src/Zle/zle_thingy.c @@ -466,7 +466,7 @@ bin_zle_mesg(char *name, char **args, UNUSED(Options ops), UNUSED(char func)) static int bin_zle_unget(char *name, char **args, UNUSED(Options ops), UNUSED(char func)) { - char *b = *args, *p = b + strlen(b); + char *b = unmeta(*args), *p = b + strlen(b); if (!zleactive) { zwarnnam(name, "can only be called from widget function"); |