about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Base/Core/_main_complete2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 25a7ce278..c84d345d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-12-07  Barton E. Schaefer  <schaefer@zsh.org>
 
+	* 33901: Completion/Base/Core/_main_complete: fix warning message
+	reference to funcstack (updates 33859)
+
 	* 33894: Src/utils.c: boundary conditions in unmeta(), unmetafy()
 
 2014-12-07  Peter Stephenson  <p.w.stephenson@ntlworld.com>
diff --git a/Completion/Base/Core/_main_complete b/Completion/Base/Core/_main_complete
index 91b68fe5d..bc63e83fb 100644
--- a/Completion/Base/Core/_main_complete
+++ b/Completion/Base/Core/_main_complete
@@ -129,7 +129,7 @@ _completer_num=1
 # We assume localtraps to be in effect here ...
 integer SECONDS=0
 TRAPINT TRAPQUIT() {
-  zle -M "Killed by signal in ${funcstack[1]} after ${SECONDS}s";
+  zle -M "Killed by signal in ${funcstack[2]} after ${SECONDS}s";
   zle -R
   return 130
 }