aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to '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 @@
25;;; Code: 25;;; Code:
26 26
27;;;###autoload 27;;;###autoload
28(defun timer-list () 28(defun timer-list (&optional _ignore-auto _nonconfirm)
29 "List all timers in a buffer." 29 "List all timers in a buffer."
30 (interactive) 30 (interactive)
31 (pop-to-buffer-same-window (get-buffer-create "*timer-list*")) 31 (pop-to-buffer-same-window (get-buffer-create "*timer-list*"))
@@ -90,6 +90,7 @@
90 "Mode for listing and controlling timers." 90 "Mode for listing and controlling timers."
91 (setq truncate-lines t) 91 (setq truncate-lines t)
92 (buffer-disable-undo) 92 (buffer-disable-undo)
93 (setq-local revert-buffer-function 'timer-list)
93 (setq buffer-read-only t) 94 (setq buffer-read-only t)
94 (setq header-line-format 95 (setq header-line-format
95 (format "%4s %10s %8s %s" 96 (format "%4s %10s %8s %s"