summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/timer-list.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/timer-list.el b/lisp/emacs-lisp/timer-list.el
index eba152325c2..9b13e52dd7c 100644
--- a/lisp/emacs-lisp/timer-list.el
+++ b/lisp/emacs-lisp/timer-list.el
@@ -25,7 +25,7 @@
;;; Code:
;;;###autoload
-(defun timer-list ()
+(defun timer-list (&optional _ignore-auto _nonconfirm)
"List all timers in a buffer."
(interactive)
(pop-to-buffer-same-window (get-buffer-create "*timer-list*"))
@@ -90,6 +90,7 @@
"Mode for listing and controlling timers."
(setq truncate-lines t)
(buffer-disable-undo)
+ (setq-local revert-buffer-function 'timer-list)
(setq buffer-read-only t)
(setq header-line-format
(format "%4s %10s %8s %s"