diff options
| -rw-r--r-- | lisp/ibuf-ext.el | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el index e5b85fd5a86..697583f288c 100644 --- a/lisp/ibuf-ext.el +++ b/lisp/ibuf-ext.el | |||
| @@ -147,9 +147,12 @@ to this variable.") | |||
| 147 | (defvar ibuffer-cached-filter-formats nil) | 147 | (defvar ibuffer-cached-filter-formats nil) |
| 148 | (defvar ibuffer-compiled-filter-formats nil) | 148 | (defvar ibuffer-compiled-filter-formats nil) |
| 149 | 149 | ||
| 150 | (defcustom ibuffer-old-time 3 | 150 | (defcustom ibuffer-old-time 72 |
| 151 | "The number of days before a buffer is considered \"old\"." | 151 | "The number of hours before a buffer is considered \"old\"." |
| 152 | :type 'integer | 152 | :type '(choice (const :tag "72 hours (3 days)" 72) |
| 153 | (const :tag "48 hours (2 days)" 48) | ||
| 154 | (const :tag "24 hours (1 day)" 24) | ||
| 155 | (integer :tag "hours")) | ||
| 153 | :group 'ibuffer) | 156 | :group 'ibuffer) |
| 154 | 157 | ||
| 155 | (defcustom ibuffer-save-with-custom t | 158 | (defcustom ibuffer-save-with-custom t |
| @@ -1017,7 +1020,7 @@ You can then feed the file name(s) to other commands with C-y. | |||
| 1017 | (car buffer-display-time)) | 1020 | (car buffer-display-time)) |
| 1018 | (float (cadr buffer-display-time)) | 1021 | (float (cadr buffer-display-time)) |
| 1019 | (* 0.0000001 (caddr buffer-display-time))))) | 1022 | (* 0.0000001 (caddr buffer-display-time))))) |
| 1020 | (> (- now then) (* 24 60 60 ibuffer-old-time)))))))) | 1023 | (> (- now then) (* 60 60 ibuffer-old-time)))))))) |
| 1021 | 1024 | ||
| 1022 | ;;;###autoload | 1025 | ;;;###autoload |
| 1023 | (defun ibuffer-mark-special-buffers () | 1026 | (defun ibuffer-mark-special-buffers () |