about summary refs log tree commit diff
path: root/Src/Zle/zle_main.c
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2015-11-22 16:06:20 +0000
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2015-11-22 16:06:20 +0000
commitae4cf7b743da0785cb8d1f0d01b8697318f254dc (patch)
tree5eb07362874b8451ac3723a49f1fc36092cb69b0 /Src/Zle/zle_main.c
parentb1688305cc83e63104d4c581f649bbdcffa0e3b8 (diff)
downloadzsh-ae4cf7b743da0785cb8d1f0d01b8697318f254dc.tar.gz
zsh-ae4cf7b743da0785cb8d1f0d01b8697318f254dc.tar.xz
zsh-ae4cf7b743da0785cb8d1f0d01b8697318f254dc.zip
37186: a couple more WARN_CREATE_GLOBAL fixes
Diffstat (limited to 'Src/Zle/zle_main.c')
-rw-r--r--Src/Zle/zle_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c
index 593d636cc..38427e8e3 100644
--- a/Src/Zle/zle_main.c
+++ b/Src/Zle/zle_main.c
@@ -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;
 }