about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Completion/User/_make2
2 files changed, 2 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e0b1047ea..1d7a6b222 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -694,7 +694,7 @@
 
 	* Sven: 10265: Completion/Builtins/_zstyle,
 	Completion/Core/_approximate, Doc/Zsh/compsys.yo: tag-order and
-	file-patterns completions; subst-glob-only and _approximate
+	file-patterns completions; subst-globs-only and _approximate
 	improvements.
 
 	* Sven: 10264: Completion/Core/_call, Completion/Core/compdump,
diff --git a/Completion/User/_make b/Completion/User/_make
index 95152635a..80164fdbd 100644
--- a/Completion/User/_make
+++ b/Completion/User/_make
@@ -32,7 +32,7 @@ else
   fi
 
   if [[ -n "$file" ]] && _tags targets; then
-    if [[ -n "$_is_gnu[$1]" ]]; then
+    if [[ -n "$_is_gnu[$words[1]]" ]]; then
       tmp=( $(make -nsp --no-print-directory -f "$file" .PHONY | awk '/^[a-zA-Z0-9][^\/\t=]+:/ {print $1}' FS=:) )
     else
       tmp=(