changeset 201:300fac7c5a2b v7.0059

updated for version 7.0059
author vimboss
date Fri, 11 Mar 2005 22:51:16 +0000
parents 3585d1a53fa5
children b6450bf509d8
files src/eval.c src/installman.sh
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -2625,7 +2625,12 @@ set_context_for_expression(xp, arg, cmdi
 					 ? EXPAND_EXPRESSION : EXPAND_NOTHING;
 	    }
 	    else if (c != ' ')
+	    {
 		xp->xp_context = EXPAND_SETTINGS;
+		if ((c == 'l' || c == 'g') && xp->xp_pattern[2] == ':')
+		    xp->xp_pattern += 2;
+
+	    }
 	}
 	else if (c == '$')
 	{
--- a/src/installman.sh
+++ b/src/installman.sh
@@ -105,4 +105,4 @@ fi
 
 exit $errstatus
 
-# vim: set sw=3 :
+# vim: set sw=3 sts=3 :