]> git.eshelyaron.com Git - emacs.git/commitdiff
(eshell-display-predicate-help): Doc fix. Support choosing seconds
authorEli Zaretskii <eliz@gnu.org>
Sat, 4 Sep 2004 13:24:04 +0000 (13:24 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 4 Sep 2004 13:24:04 +0000 (13:24 +0000)
with "s".

lisp/ChangeLog
lisp/eshell/em-pred.el

index 85f2ae468de54b04ca7952615a283a8f9339b1aa..015f4fbc60f07bdafcc92f56ba94d9dc1e654cf7 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-04  Matt Hodges  <matt@stchem.bham.ac.uk>  (tiny change)
+
+       * eshell/em-pred.el (eshell-predicate-help-string): Doc fix.
+       Support choosing seconds with "s".
+
 2004-09-04  Jari Aalto  <jari.aalto@poboxes.com>
 
        * terminal.el (te-escape): Show `?' in prompt for help key.
index 26349b4e94b976295521db290122efe2677171b1..bbb82fc7cd8424c1299b0c21e36b15c06395f8c8 100644 (file)
@@ -186,12 +186,13 @@ OWNERSHIP:
 
 FILE ATTRIBUTES:
   l[+-]N                 +/-/= N links
-  a[Mwhm][+-](N|'FILE')  access time +/-/= N mnths/weeks/days/mins
-                        if FILE specified, use as comparison basis;
-                        so a+'file.c' shows files accessed before
-                        file.c was last accessed
-  m[Mwhm][+-](N|'FILE')  modification time...
-  c[Mwhm][+-](N|'FILE')  change time...
+  a[Mwhms][+-](N|'FILE') access time +/-/= N mnths/weeks/hours/mins/secs
+                        (days if unspecified) if FILE specified,
+                        use as comparison basis; so a+'file.c'
+                        shows files accessed before file.c was
+                        last accessed
+  m[Mwhms][+-](N|'FILE') modification time...
+  c[Mwhms][+-](N|'FILE') change time...
   L[kmp][+-]N            file size +/-/= N Kb/Mb/blocks
 
 EXAMPLES:
@@ -409,7 +410,7 @@ returning the resultant string."
   "Return a predicate to test whether a file matches a certain time."
   (let* ((quantum 86400)
         qual amount when open close end)
-    (when (memq (char-after) '(?M ?w ?h ?m))
+    (when (memq (char-after) '(?M ?w ?h ?m ?s))
       (setq quantum (char-after))
       (cond
        ((eq quantum ?M)