about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Completion/X/Command/_acroread9
2 files changed, 10 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 77155e779..46d2a6896 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-08  Peter Stephenson  <pws@csr.com>
+
+	* Ben: Completion/X/Command/_acroread: version 9 is similar to 7
+	and 8.
+
 2010-10-07  Peter Stephenson  <pws@csr.com>
 
 	* 28327: Src/hist.c: Fix bufferwords() splitting when RC_QUOTES
@@ -13714,5 +13719,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5098 $
+* $Revision: 1.5099 $
 *****************************************************
diff --git a/Completion/X/Command/_acroread b/Completion/X/Command/_acroread
index f74168a81..a32dc3b40 100644
--- a/Completion/X/Command/_acroread
+++ b/Completion/X/Command/_acroread
@@ -26,12 +26,11 @@ if [[ -z $_acroread_version ]]; then
   fi
 fi
 
-if [[ $_acroread_version == [78].* ]]; then
+if [[ $_acroread_version == [789].* ]]; then
   local -a extra_args
-  if [[ $_acroread_version == 8.* ]]; then
-    extra_args=(-man '-installCertificate:server ip::server port')
-  else
-    extra_args=()
+  extra_args=()
+  if [[ $_acroread_version == [89].* ]]; then
+    extra_args+=(-man '-installCertificate:server ip::server port')
   fi
   _arguments -C \
     "${extra_args[@]}" \