Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2c1bb3d3
Commit
2c1bb3d3
authored
Feb 23, 2002
by
Colin Walters
Browse files
(ibuffer-old-time): Change to hours.
(ibuffer-mark-old-buffers): Handle it.
parent
d99b259b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
lisp/ibuf-ext.el
lisp/ibuf-ext.el
+7
-4
No files found.
lisp/ibuf-ext.el
View file @
2c1bb3d3
...
...
@@ -147,9 +147,12 @@ to this variable.")
(
defvar
ibuffer-cached-filter-formats
nil
)
(
defvar
ibuffer-compiled-filter-formats
nil
)
(
defcustom
ibuffer-old-time
3
"The number of days before a buffer is considered \"old\"."
:type
'integer
(
defcustom
ibuffer-old-time
72
"The number of hours before a buffer is considered \"old\"."
:type
'
(
choice
(
const
:tag
"72 hours (3 days)"
72
)
(
const
:tag
"48 hours (2 days)"
48
)
(
const
:tag
"24 hours (1 day)"
24
)
(
integer
:tag
"hours"
))
:group
'ibuffer
)
(
defcustom
ibuffer-save-with-custom
t
...
...
@@ -1017,7 +1020,7 @@ You can then feed the file name(s) to other commands with C-y.
(
car
buffer-display-time
))
(
float
(
cadr
buffer-display-time
))
(
*
0.0000001
(
caddr
buffer-display-time
)))))
(
>
(
-
now
then
)
(
*
24
60
60
ibuffer-old-time
))))))))
(
>
(
-
now
then
)
(
*
60
60
ibuffer-old-time
))))))))
;;;###autoload
(
defun
ibuffer-mark-special-buffers
()
...
...
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