summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/compsys.yo2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 46af8feb6..c5355ef50 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2011-12-11 Peter Stephenson <p.w.stephenson@ntlworld.com>
+ * discussed in 29984: Doc/Zsh/compsys.yo: use m+7 for files
+ "more than a week old" since w+1 is a bit counterintuitive.
+
* 29991: Doc/Zsh/expn.yo, Src/glob.c: allow explicit 'd' for
days in time qualifiers.
@@ -15722,5 +15725,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5535 $
+* $Revision: 1.5536 $
*****************************************************
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index 54c0d5db8..01c8625fc 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -3970,7 +3970,7 @@ Example:
example(_example_caching_policy () {
# rebuild if cache is more than a week old
local -a oldp
- oldp=( "$1"(Nmw+1) )
+ oldp=( "$1"(Nm+7) )
(( $#oldp ))
})
)