about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Completion/Commands/_complete_debug7
2 files changed, 4 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index c133a2f81..e461b3c2c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2000-05-29  Bart Schaefer  <schaefer@zsh.org>
 
+	* 11644: Use `print -s' in _complete_debug, now that it works.
+	
 	* 11643: Completion/Linux/_rpm: Factor out option sets that are
 	repeated in several states; add more options from RPM v3.
 	
diff --git a/Completion/Commands/_complete_debug b/Completion/Commands/_complete_debug
index aeb2027a7..a876839c0 100644
--- a/Completion/Commands/_complete_debug
+++ b/Completion/Commands/_complete_debug
@@ -18,12 +18,9 @@ integer ret=$?
 unsetopt xtrace
 
 [[ -t 3 ]] && {
-    ## Calling "print -s" during completion is presently broken.
-    # _message -r "Trace output left in $tmp (up-history to view)"
-    # print -sR "${VISUAL:-${EDITOR:-${PAGER:-more}}} $tmp ;: $w"
-    _message -r "Trace output left in $tmp"
+    print -sR "${VISUAL:-${EDITOR:-${PAGER:-more}}} $tmp ;: $w"
+    _message -r "Trace output left in $tmp (up-history to view)"
     compstate[list]='list force'
-    print -zR "${VISUAL:-${EDITOR:-${PAGER:-more}}} $tmp ;: $w"
     exec 2>&3 3>&-
 }