Commit 2a1c966e authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(eshell-display-predicate-help): Doc fix. Support choosing seconds

with "s".
parent 0721fbe3
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> 2004-09-04 Jari Aalto <jari.aalto@poboxes.com>
* terminal.el (te-escape): Show `?' in prompt for help key. * terminal.el (te-escape): Show `?' in prompt for help key.
......
...@@ -186,12 +186,13 @@ OWNERSHIP: ...@@ -186,12 +186,13 @@ OWNERSHIP:
FILE ATTRIBUTES: FILE ATTRIBUTES:
l[+-]N +/-/= N links l[+-]N +/-/= N links
a[Mwhm][+-](N|'FILE') access time +/-/= N mnths/weeks/days/mins a[Mwhms][+-](N|'FILE') access time +/-/= N mnths/weeks/hours/mins/secs
if FILE specified, use as comparison basis; (days if unspecified) if FILE specified,
so a+'file.c' shows files accessed before use as comparison basis; so a+'file.c'
file.c was last accessed shows files accessed before file.c was
m[Mwhm][+-](N|'FILE') modification time... last accessed
c[Mwhm][+-](N|'FILE') change time... m[Mwhms][+-](N|'FILE') modification time...
c[Mwhms][+-](N|'FILE') change time...
L[kmp][+-]N file size +/-/= N Kb/Mb/blocks L[kmp][+-]N file size +/-/= N Kb/Mb/blocks
EXAMPLES: EXAMPLES:
...@@ -409,7 +410,7 @@ returning the resultant string." ...@@ -409,7 +410,7 @@ returning the resultant string."
"Return a predicate to test whether a file matches a certain time." "Return a predicate to test whether a file matches a certain time."
(let* ((quantum 86400) (let* ((quantum 86400)
qual amount when open close end) 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)) (setq quantum (char-after))
(cond (cond
((eq quantum ?M) ((eq quantum ?M)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment