emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 965cffd: Rename timer-list to list-timers


From: Mark Oteiza
Subject: [Emacs-diffs] emacs-26 965cffd: Rename timer-list to list-timers
Date: Tue, 19 Sep 2017 22:24:30 -0400 (EDT)

branch: emacs-26
commit 965cffd89cd5727c46a1b0999bef440f8e316742
Author: Mark Oteiza <address@hidden>
Commit: Mark Oteiza <address@hidden>

    Rename timer-list to list-timers
    
    * doc/emacs/anti.texi (Antinews):
    * doc/lispref/os.texi (Timers):
    * etc/NEWS:
    * lisp/emacs-lisp/timer-list.el:
    (timer-list-mode): Rename timer-list to list-timers.
---
 doc/emacs/anti.texi           | 2 +-
 doc/lispref/os.texi           | 4 ++--
 etc/NEWS                      | 2 +-
 lisp/emacs-lisp/timer-list.el | 6 +++---
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/doc/emacs/anti.texi b/doc/emacs/anti.texi
index ffec915..547dbd1 100644
--- a/doc/emacs/anti.texi
+++ b/doc/emacs/anti.texi
@@ -94,7 +94,7 @@ happen.  The variables 
@code{'attempt-stack-overflow-recovery} and
 @code{attempt-orderly-shutdown-on-fatal-signal} are therefore removed.
 
 @item
-The @code{timer-list} command was removed, as we decided timers are
+The @code{list-timers} command was removed, as we decided timers are
 not user-level feature, and therefore users should not be allowed to
 mess with them.  Ask an Emacs Lisp guru near you for help if you have
 a runaway timer in your session.  (Of course, as you move back in
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index 441fda5..af646ce 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -1885,8 +1885,8 @@ one of these functions; the arrival of the specified time 
will not
 cause anything special to happen.
 @end defun
 
address@hidden timer-list
-The @code{timer-list} command lists all the currently active timers.
address@hidden list-timers
+The @code{list-timers} command lists all the currently active timers.
 There's only one command available in the buffer displayed: @kbd{c}
 (@code{timer-list-cancel}) that will cancel the timer on the line
 under point.
diff --git a/etc/NEWS b/etc/NEWS
index a814c3e..a685a9f 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -367,7 +367,7 @@ see the node "Connection Local Variables" in the ELisp 
manual.
 puny.el library, so that one can visit Web sites with non-ASCII URLs.
 
 +++
-** The new 'timer-list' command lists all active timers in a buffer,
+** The new 'list-timers' command lists all active timers in a buffer,
 where you can cancel them with the 'c' command.
 
 +++
diff --git a/lisp/emacs-lisp/timer-list.el b/lisp/emacs-lisp/timer-list.el
index 44a315f..69c6741 100644
--- a/lisp/emacs-lisp/timer-list.el
+++ b/lisp/emacs-lisp/timer-list.el
@@ -25,7 +25,7 @@
 ;;; Code:
 
 ;;;###autoload
-(defun timer-list (&optional _ignore-auto _nonconfirm)
+(defun list-timers (&optional _ignore-auto _nonconfirm)
   "List all timers in a buffer."
   (interactive)
   (pop-to-buffer-same-window (get-buffer-create "*timer-list*"))
@@ -67,7 +67,7 @@
   (goto-char (point-min)))
 ;; This command can be destructive if they don't know what they are
 ;; doing.  Kids, don't try this at home!
-;;;###autoload (put 'timer-list 'disabled "Beware: manually canceling timers 
can ruin your Emacs session.")
+;;;###autoload (put 'list-timers 'disabled "Beware: manually canceling timers 
can ruin your Emacs session.")
 
 (defvar timer-list-mode-map
   (let ((map (make-sparse-keymap)))
@@ -84,7 +84,7 @@
   (setq bidi-paragraph-direction 'left-to-right)
   (setq truncate-lines t)
   (buffer-disable-undo)
-  (setq-local revert-buffer-function 'timer-list)
+  (setq-local revert-buffer-function #'list-timers)
   (setq buffer-read-only t)
   (setq header-line-format
         (format "%4s %10s %8s %s"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]