aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2004-09-04 13:24:04 +0000
committerEli Zaretskii2004-09-04 13:24:04 +0000
commit2a1c966e8185bd8f9d9f0942e538c82f20a4a073 (patch)
tree3701c32b2fe19ee77477327299b5cf0c2af50def
parent0721fbe3c2761509b246980d2000275e8582fb6c (diff)
downloademacs-2a1c966e8185bd8f9d9f0942e538c82f20a4a073.tar.gz
emacs-2a1c966e8185bd8f9d9f0942e538c82f20a4a073.zip
(eshell-display-predicate-help): Doc fix. Support choosing seconds
with "s".
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/eshell/em-pred.el15
2 files changed, 13 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 85f2ae468de..015f4fbc60f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12004-09-04 Matt Hodges <matt@stchem.bham.ac.uk> (tiny change)
2
3 * eshell/em-pred.el (eshell-predicate-help-string): Doc fix.
4 Support choosing seconds with "s".
5
12004-09-04 Jari Aalto <jari.aalto@poboxes.com> 62004-09-04 Jari Aalto <jari.aalto@poboxes.com>
2 7
3 * terminal.el (te-escape): Show `?' in prompt for help key. 8 * terminal.el (te-escape): Show `?' in prompt for help key.
diff --git a/lisp/eshell/em-pred.el b/lisp/eshell/em-pred.el
index 26349b4e94b..bbb82fc7cd8 100644
--- a/lisp/eshell/em-pred.el
+++ b/lisp/eshell/em-pred.el
@@ -186,12 +186,13 @@ OWNERSHIP:
186 186
187FILE ATTRIBUTES: 187FILE ATTRIBUTES:
188 l[+-]N +/-/= N links 188 l[+-]N +/-/= N links
189 a[Mwhm][+-](N|'FILE') access time +/-/= N mnths/weeks/days/mins 189 a[Mwhms][+-](N|'FILE') access time +/-/= N mnths/weeks/hours/mins/secs
190 if FILE specified, use as comparison basis; 190 (days if unspecified) if FILE specified,
191 so a+'file.c' shows files accessed before 191 use as comparison basis; so a+'file.c'
192 file.c was last accessed 192 shows files accessed before file.c was
193 m[Mwhm][+-](N|'FILE') modification time... 193 last accessed
194 c[Mwhm][+-](N|'FILE') change time... 194 m[Mwhms][+-](N|'FILE') modification time...
195 c[Mwhms][+-](N|'FILE') change time...
195 L[kmp][+-]N file size +/-/= N Kb/Mb/blocks 196 L[kmp][+-]N file size +/-/= N Kb/Mb/blocks
196 197
197EXAMPLES: 198EXAMPLES:
@@ -409,7 +410,7 @@ returning the resultant string."
409 "Return a predicate to test whether a file matches a certain time." 410 "Return a predicate to test whether a file matches a certain time."
410 (let* ((quantum 86400) 411 (let* ((quantum 86400)
411 qual amount when open close end) 412 qual amount when open close end)
412 (when (memq (char-after) '(?M ?w ?h ?m)) 413 (when (memq (char-after) '(?M ?w ?h ?m ?s))
413 (setq quantum (char-after)) 414 (setq quantum (char-after))
414 (cond 415 (cond
415 ((eq quantum ?M) 416 ((eq quantum ?M)