From: Eli Zaretskii Date: Sat, 4 Sep 2004 13:24:04 +0000 (+0000) Subject: (eshell-display-predicate-help): Doc fix. Support choosing seconds X-Git-Tag: ttn-vms-21-2-B4~5065 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2a1c966e8185bd8f9d9f0942e538c82f20a4a073;p=emacs.git (eshell-display-predicate-help): Doc fix. Support choosing seconds with "s". --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 85f2ae468de..015f4fbc60f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2004-09-04 Matt Hodges (tiny change) + + * eshell/em-pred.el (eshell-predicate-help-string): Doc fix. + Support choosing seconds with "s". + 2004-09-04 Jari Aalto * 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: 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)