about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2002-05-23 12:16:42 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2002-05-23 12:16:42 +0000
commit70120f22eeaa16143425bfe0071245984f7fbb61 (patch)
tree8936990f52b2fe5b60391487a24b4302f8d06b8f
parentd786ca4438883723569bf72a0fe43b2306915838 (diff)
downloadzsh-70120f22eeaa16143425bfe0071245984f7fbb61.tar.gz
zsh-70120f22eeaa16143425bfe0071245984f7fbb61.tar.xz
zsh-70120f22eeaa16143425bfe0071245984f7fbb61.zip
rename max-match-length style to max-matches-width (17213)
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Base/Utility/_describe2
-rw-r--r--Completion/Zsh/Command/_zstyle6
-rw-r--r--Doc/Zsh/compsys.yo6
4 files changed, 11 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index ed0a59c64..2139dcb3b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2002-05-23  Sven Wischnowsky  <wischnow@zsh.org>
 
+	* 17213: Completion/Base/Utility/_describe,
+	Completion/Zsh/Command/_zstyle, Doc/Zsh/compsys.yo: rename
+	max-match-length style to max-matches-width
+
 	* 17212: Src/Zle/computil.c: allow multiple lines in option
 	completion lists to share the same description, for (hopefully)
 	cleaner displays
diff --git a/Completion/Base/Utility/_describe b/Completion/Base/Utility/_describe
index 0a291302b..eafdcc35b 100644
--- a/Completion/Base/Utility/_describe
+++ b/Completion/Base/Utility/_describe
@@ -25,7 +25,7 @@ fi
 zstyle -T ":completion:${curcontext}:$_type" verbose && _showd=yes
 
 zstyle -s ":completion:${curcontext}:$_type" list-separator _sep || _sep=--
-zstyle -s ":completion:${curcontext}:$_type" max-match-length _mlen ||
+zstyle -s ":completion:${curcontext}:$_type" max-matches-width _mlen ||
     _mlen=$((COLUMNS/2))
 
 _descr="$1"
diff --git a/Completion/Zsh/Command/_zstyle b/Completion/Zsh/Command/_zstyle
index db4d6604b..bab202ca0 100644
--- a/Completion/Zsh/Command/_zstyle
+++ b/Completion/Zsh/Command/_zstyle
@@ -80,7 +80,7 @@ styles=(
   matcher		 c:
   matcher-list		 c:
   max-errors		 c:
-  max-match-length       c:max-match-length
+  max-matches-width      c:max-matches-width
   menu			 c:boolauto
   muttrc                 c:_files
   numbers		 c:bool
@@ -383,8 +383,8 @@ while (( $#state )); do
       _message -e separators 'separator string'
       ;;
 
-    max-match-length)
-      _message -e numbers 'maximum display length for matches'
+    max-matches-width)
+      _message -e numbers 'maximum display width for matches'
       ;;
 
     urgh) 
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index ad43e19ab..d93b691a2 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -1766,9 +1766,9 @@ performed.
 
 The default value for this style is `tt(2 numeric)'.
 )
-kindex(max-match-length, completion style)
-item(tt(max-match-length))(
-This is used to define the maximum length to use for the matches when
+kindex(max-matches-width, completion style)
+item(tt(max-matches-width))(
+This is used to define the maximum width to use for the matches when
 listing matches with descriptions. In such lists, matches with the
 same description will be grouped together, but that means that in
 cases where many matches have the same description, the matches take