From a6d675393841be3fb56ad20320742e458c7af369 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 9 Feb 2016 20:30:54 +0200 Subject: [PATCH] Disable 'timer-list' * lisp/emacs-lisp/timer-list.el: Make 'timer-list' a disabled command. --- lisp/emacs-lisp/timer-list.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/emacs-lisp/timer-list.el b/lisp/emacs-lisp/timer-list.el index b54902a45f8..eba152325c2 100644 --- a/lisp/emacs-lisp/timer-list.el +++ b/lisp/emacs-lisp/timer-list.el @@ -74,6 +74,9 @@ 'timer timer) (insert "\n"))) (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.") (defvar timer-list-mode-map (let ((map (make-sparse-keymap))) -- 2.39.2