[Cook] [PATCH] set tell-position
Lev S Bishop
lev.bishop at yale.edu
Tue May 3 04:54:45 EST 2005
Here are a few patches, against 2.25:
First, the tell-position flag doesn't work in cookbooks (despite being
demonstrated in the users guide), although it does work as a commandline
option. This patch fixes it:
--- cook/flag.c 2004-07-17 06:09:39.000000000 -0400
+++ cook/flag.c 2005-04-22 10:49:26.987595200 -0400
@@ -462,6 +462,11 @@
option_set(OPTION_STRIP_DOT, level, 1);
if (fp->flag[RF_STRIPDOT_OFF])
option_set(OPTION_STRIP_DOT, level, 0);
+
+ if (fp->flag[RF_TELL_POSITION])
+ option_set(OPTION_TELL_POSITION, level, 1);
+ if (fp->flag[RF_TELL_POSITION_OFF])
+ option_set(OPTION_TELL_POSITION, level, 0);
if (fp->flag[RF_UPDATE])
option_set(OPTION_UPDATE, level, 1);
More information about the Cook-users
mailing list