Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2a1c966e
Commit
2a1c966e
authored
Sep 04, 2004
by
Eli Zaretskii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(eshell-display-predicate-help): Doc fix. Support choosing seconds
with "s".
parent
0721fbe3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/eshell/em-pred.el
lisp/eshell/em-pred.el
+8
-7
No files found.
lisp/ChangeLog
View file @
2a1c966e
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.
...
...
lisp/eshell/em-pred.el
View file @
2a1c966e
...
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment