Human readable last display time of killed buffer
* lisp/midnight.el (clean-buffer-list): Upon killing a buffer, add a human readable last displayed information. (Bug#73150)
This commit is contained in:
parent
06de3ae412
commit
31e8500b06
1 changed files with 2 additions and 1 deletions
|
@ -179,7 +179,8 @@ lifetime, i.e., its \"age\" when it will be purged."
|
|||
(and (buffer-file-name buf) (buffer-modified-p buf))
|
||||
(get-buffer-window buf 'visible)
|
||||
(< delay cbld))
|
||||
(message "[%s] killing `%s'" ts bn)
|
||||
(message "[%s] killing `%s' (last displayed %s ago)" ts bn
|
||||
(format-seconds "%Y, %D, %H, %M, %z%S" delay))
|
||||
(kill-buffer buf))))))
|
||||
|
||||
;;; midnight hook
|
||||
|
|
Loading…
Add table
Reference in a new issue