[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 8c1503e: Make the revert command in timer-list-mode
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 8c1503e: Make the revert command in timer-list-mode work |
Date: |
Tue, 01 Mar 2016 05:06:51 +0000 |
branch: master
commit 8c1503e41bb65e7d75d006c4650f5114fdc6eed2
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Make the revert command in timer-list-mode work
* lisp/emacs-lisp/timer-list.el (timer-list): Make the revert
command work.
---
lisp/emacs-lisp/timer-list.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/lisp/emacs-lisp/timer-list.el b/lisp/emacs-lisp/timer-list.el
index eba1523..9b13e52d 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"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 8c1503e: Make the revert command in timer-list-mode work,
Lars Ingebrigtsen <=