From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1537 invoked from network); 29 Feb 2000 07:30:43 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 Feb 2000 07:30:43 -0000 Received: (qmail 19050 invoked by alias); 29 Feb 2000 07:30:36 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9920 Received: (qmail 19039 invoked from network); 29 Feb 2000 07:30:35 -0000 Date: Tue, 29 Feb 2000 08:30:30 +0100 (MET) Message-Id: <200002290730.IAA08800@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Sven Wischnowsky's message of Tue, 29 Feb 2000 08:22:59 +0100 (MET) Subject: Re: PATCH: _call Should have read all my mail before replying to one... Bart told me that I forgot to include the hunk for _call itself. Sorry, sorry, sorry. Bye Sven diff -ru ../z.old/Completion/Core/.distfiles Completion/Core/.distfiles --- ../z.old/Completion/Core/.distfiles Mon Feb 28 12:58:18 2000 +++ Completion/Core/.distfiles Tue Feb 29 08:28:22 2000 @@ -1,6 +1,6 @@ DISTFILES_SRC=' .distfiles - _alternative _approximate _compalso _complete _correct _description + _alternative _approximate _call _compalso _complete _correct _description _expand _files _funcall _list _main_complete _match _menu _multi_parts _message _normal _oldlist _options _parameters _path_files _prefix _requested _sep_parts diff -ru ../z.old/Completion/Core/_call Completion/Core/_call --- ../z.old/Completion/Core/_call Tue Feb 29 08:29:14 2000 +++ Completion/Core/_call Mon Feb 28 10:39:32 2000 @@ -0,0 +1,13 @@ +#autoload + +local tmp + +if zstyle -s ":completion:${curcontext}:${1}" command tmp; then + if [[ "$tmp" = -* ]]; then + eval "$tmp[2,-1]" "$argv[2,-1]" + else + eval "$tmp" + fi +else + eval "$argv[2,-1]" +fi -- Sven Wischnowsky wischnow@informatik.hu-berlin.de