summary refs log tree commit diff
path: root/Completion/Base/Utility/_regex_words
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2015-11-27 11:22:49 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2015-11-27 11:22:49 -0800
commitc7c51eca164ea2e23c1f10b0e63030e66588f27a (patch)
tree15e78786da9562f49ad284e5dad2e190694a885f /Completion/Base/Utility/_regex_words
parent026cb6a8127dfb9a6277ec42cc251ebc77e1300e (diff)
parent8efa4b4088a9f57903954a12eb086b176109bd91 (diff)
downloadzsh-c7c51eca164ea2e23c1f10b0e63030e66588f27a.tar.gz
zsh-c7c51eca164ea2e23c1f10b0e63030e66588f27a.tar.xz
zsh-c7c51eca164ea2e23c1f10b0e63030e66588f27a.zip
Fix conflicts in ChangeLog
Diffstat (limited to 'Completion/Base/Utility/_regex_words')
-rw-r--r--Completion/Base/Utility/_regex_words8
1 files changed, 7 insertions, 1 deletions
diff --git a/Completion/Base/Utility/_regex_words b/Completion/Base/Utility/_regex_words
index 77ba197a4..62c2491bb 100644
--- a/Completion/Base/Utility/_regex_words
+++ b/Completion/Base/Utility/_regex_words
@@ -20,7 +20,13 @@ local tag=$1
 local desc=$2
 shift 2
 
-reply=(\()
+if (( $# )); then
+  reply=(\()
+else
+  # ### Is this likely to happen in callers?  Should we warn?
+  reply=()
+  return
+fi
 
 integer i
 local -a wds