]> git.eshelyaron.com Git - emacs.git/commitdiff
Rename timer-list to list-timers
authorMark Oteiza <mvoteiza@udel.edu>
Wed, 20 Sep 2017 02:21:37 +0000 (22:21 -0400)
committerMark Oteiza <mvoteiza@udel.edu>
Wed, 20 Sep 2017 02:24:23 +0000 (22:24 -0400)
* 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
doc/lispref/os.texi
etc/NEWS
lisp/emacs-lisp/timer-list.el

index ffec915cb13a48dce9f3f5cd1cb9a83c2874810a..547dbd1b45d3c625ecb588d2424cfef8aa8839e8 100644 (file)
@@ -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
index 441fda5d825c72866e1688770f2b4d675997ae8c..af646ce40f4b19b832a4cdbf843ee7cadf26839a 100644 (file)
@@ -1885,8 +1885,8 @@ one of these functions; the arrival of the specified time will not
 cause anything special to happen.
 @end defun
 
-@findex timer-list
-The @code{timer-list} command lists all the currently active timers.
+@findex 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.
index a814c3ec20d5d27ab357e77e699d1767ee9c25a1..a685a9fbe92f2dbabb36f644da36a566f7f31f63 100644 (file)
--- 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.
 
 +++
index 44a315f9806c9f781ce670eb135a32b7dea753c7..69c6741983522265718da10e97b21c95af22d077 100644 (file)
@@ -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"