mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 04:40:59 +01:00
37186: a couple more WARN_CREATE_GLOBAL fixes
This commit is contained in:
parent
b1688305cc
commit
ae4cf7b743
3 changed files with 8 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2015-11-22 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 37186: Functions/VCS_Info/VCS_INFO_nvcsformats,
|
||||
Src/Zle/zle_main.c: a couple of WARN_CREATE_GLOBAL fixes.
|
||||
|
||||
2015-11-21 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 37181: Test/C02cond.ztst, Test/D07multibyte.ztst,
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
setopt localoptions noksharrays NO_shwordsplit
|
||||
local c v rr
|
||||
local -a msgs
|
||||
|
||||
if [[ $1 == '-preinit-' ]] ; then
|
||||
c='default'
|
||||
|
|
|
|||
|
|
@ -2045,7 +2045,8 @@ setup_(UNUSED(Module m))
|
|||
bpaste = zshcalloc(3*sizeof(char *));
|
||||
bpaste[0] = ztrdup("\033[?2004h");
|
||||
bpaste[1] = ztrdup("\033[?2004l");
|
||||
setaparam("zle_bracketed_paste", bpaste);
|
||||
/* Intended to be global, no WARNCREATEGLOBAL check. */
|
||||
assignaparam("zle_bracketed_paste", bpaste, 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue